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.
help with awk - sed
Name: sunilgeek Date: October 15, 2008 at 18:34:12 Pacific OS: Linux CPU/Ram: 2.5 GHz, 1 GB Ram
Comment:
Hi All,
I have a file with content as given below.
/abc-1/*"/> /abc-2/*"/> /abc-3/*"/> /abc-4/*"/>
I want output as : abc-1 abc-2 abc-3 abc-4
I tried many awk and sed combination, "/" is road blocker for me. Please help me.
Summary: Hello all I'm trying to understand Pemente's awk/sed example #2 in using awk/sed to find a line in a text file and sending the content of that line into a variable. A search didn't really help me much...
Summary: I want to convert 1 2 3 4 5 6 7 8 9 into 123 456 789 I've seen examples with awk using a[something]=a[something] but I can't make it work. Can anyone help please? ...
Summary: It might be possible to do this with AWK, but your description is incomplete. Are the field separators always ; ? I see a , in there too, which makes it difficult to use AWK's field separator. Are the...