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.
change awk delimiter
Name: AWK Date: September 15, 2002 at 12:14:42 Pacific OS: UNIX CPU/Ram: ??
Comment:
How do I change the delimiter of a log file from "Tab" to "|" and then make a copy of the original log file to a new file by using AWK?
Summary: Thank you so much. I actually got that one solved by making my software guy give me a file with a delimiter of "^" instead of ",". I changed the delimiter in your awk script. It works like a cha...
Summary: I call this an xy report where x represents the horizontal columnar headings and y represents the vertical labels. The solution below does an initial sort on the input file, which is then piped into a...
Summary: Correct on the varying number of spaces. The cut command is using each space as a field delimiter, so a bunch of spaces makes for a bunch of null fields. By default, awk delimites each field with any...