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 help for the
Name: htnkd Date: July 9, 2004 at 11:33:49 Pacific OS: linux CPU/Ram: ?
Comment:
having problem with unix on the if else statement
what I want to do is look at a "|" file with around 10000 records. If it matches a line change a field , if it doesn't move on to the next one
what I get is only the first runs through but does not continue. I need it to look at each line if it matches overwrite it and make the change if it does not keep it the same and continue to the next search for the match-- print out all the changes and non changes into the final file
Summary: i'm having real trouble with a couple questions so if anyone can help me it would be great here they are -Split empn.lst so that the lines are saved in two seperate file depending on whether the salar...
Summary: I am a new user of bourne shell scripting. There are two things that I am trying to accomplish within my script. 1) I am assuming I need to use awk or sed to evaluate a file (xyz.xml) for the number ...
Summary: Hi, I just want to know if awk can accept variables in conditions? I tried something that looks like awk '{if($1==$*) print...' file but I don't think it can recognize the $* . It works if I replace t...