thank you for reply.
example:
i have a text file, call file_1
file_1 content:
file_A
file_B
file_C
file_D
inside my folder have alot of file, but i'm just want modify the content for file that shown at file_1.
if found file name call file_A , then check the content inside , if meet the...
Hi ,
im have few question :
1. i have 1 data file, and want to modify all the file name same as file 1.(if possible ignore capital latter,and ignore file not exits)
file 1:
C123
C143
C122
C2
file c123:
pattern1
other text
pattern2
other text...
Looking for help.
input file:
"1V2_FPGA"
"GNDD"
"CPU_VCCINT"
"V_SW1"
"V_SW2"
i'm need output as:
short "GNDD" to "1V2_FPGA"
short "CPU_VCCINT" to "1V2_FPGA"
short "V_SW1" to "1V2_FPGA"
short "V_SW2" to "1V2_FPGA"
request help with syntax explanation.
hopefully can...
Hi ,
cool it work . thank you.
may i know how it function ? coz i need modify it for my program, those i give a an simple example , in actual file have include spacebar and symbol, i want learn some, it look fun, although im not programmer.
FNR==NR{s=s...
Hi ,
what i put is in the file are as below, i try remove the master too, it still can't.
file name as (kttan84.awk)
-------------------------------------------------------------------------
master # cat kttan84.awk
FNR==NR{s=s (s?"|":"")$0;next}$0~"^Start("s")$",/^end$/{next}1
master #...
awk -W version , not working (-w unknow option)
i check the exe for awk.exe as attachment.
http://files.engineering.com/getfile.aspx?folder=6dc84ff6-5ea1-44b1-92c1-ba0f88db1340&file=Untitled.png
Hi,
Thank for response.
i'm not familiar with awk.
i'm using kornshell for run it.
i try it but the error as below:
$ kttan84.awk
C:/NuTCROOT/mksnt/awk.exe: Syntax error Context is:
>>> D: <<<
Hi ,
i'm not a programmer , just want to eddit abit old script that left up.
i need a function can filter up those unwanted part in a text file with a input.
it will delete those section that i'm giving in input file.
Exp:
file i need to modify...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.