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.
Increment a number using awk or sed
Name: salman4983 Date: April 5, 2005 at 12:11:34 Pacific OS: Windows XP CPU/Ram: 2.8 GHz/512 MB
Comment:
Need help with awk or sed script. I have multiple files with the following in first line NUMBER_COLUMNS=15
I want to increase the number by 1 so it should say NUMBER_COLUMNS=16
Summary: Hi. I need to write a script to edit a file without using awk or sed. I am given J5: J4 J2: J3 J1: J2 J3 J: J2 J3 J4 And the output should become J5.class: J4.class J2.class: J3.class J1.class: J2.cla...
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 All, I have two files file1: abc,def,ghi,5,jkl,mno pqr,stu,ghi,10,vwx,xyz cba,ust,ihg,4,cdu,oqw file2: ravi,def,kishore ramu,ust,krishna joseph,stu,mike I need two output files as follows In my abo...