Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
awk substitute for quotes
Name: munkiboy Date: March 22, 2005 at 09:39:10 Pacific OS: aix 4.3 CPU/Ram: risc rs6000
Comment:
Hi, I have to enclose some fields in a text file in quotation marks. When I created the file I used the pipe symbol "|" before and after the field intending to change this to quotes. Can anybody please advise me on this, I'm trying to use awk gsub command to do this. Many thanks, Brian
Summary: For example, in the two lines below, you want only the first line: No. America North America In regular expressions, a dot means any single character. You need to precede the dot with a backslash whi...
Summary: Right, these filenames come from the awk command line, so the FILENAMEs will be exactly as you specified, which could be simple names or full-path names. To chop those down, I was able to do a substit...