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.
how to replace a line in a file
Name: arun.s Date: November 15, 2005 at 03:00:26 Pacific OS: unix CPU/Ram: 255
Comment:
my problem is i want to replace a line in a file
e.g i want to replace the line DBUID= (some name) with DBUID=$user variable
file name is sample.ksh DBUID=aruns010
please help me in solving this problem. i want to replace the entire line by using DBUID as the search parameter.i dont know the characters after DBUID=....?
Summary: i want to replace a file in .zip file in AIX5.3 machine; say i have file script.ksh file and a build.zip file which contains older version of script.ksh. i dont want to zip the entire thing. i want to...
Summary: Hi guys this my sample file sample.ksh DBUID=testdatabase DBLOC=wm4r2 i want replace DBUID=testdatabase by DBUID=$myvariable (i.e myvariable=arundatabase). the name testdabase is not fixed and it cha...
Summary: Hi, How to parse a file that has more than 199 columns. 'awk' fails when line is having more than 199 fields. Is there a way to resolve this...what i am thinking is to strip off all those columns be...