Summary: Ipfilters block IPs through a ipf.conf, I want to delete enteries from ipf.conf through script.I tried shell scripting and then sed scripting sed '/\...
Summary: how any one can write SED script for following requirement? Test1.text file has following data : Che is CLA and XP is //event[tag = cast and line = 29...
Summary: Hello, Can I use sed scripts, for ex: sed -f script filename > newfilename. where script file is : diff -e <my version> <production version> ...
Summary: Even though at home I have both a Solaris and Linux box, almost everything I do is on my Windows box (one of these days I'll get smart and reverse th...
Summary: Hi, I am going a global replace using the below script.My problem is the last line of the property file is getting deleted.Please any idea on this iss...
Summary: The reason is :"You might try deleting and re-entering line 8 in your script, in case there is a hidden white-space character at the end of line in yo...
Summary: You can pass inline ( as opposed to reading from a sed script file ) commands with -e sed -e 's/\.$//' oldfile > newfile This says to replace a litera...
Summary: 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 sh...
Summary: Hello, How can I do a sed script which modify a file himself ? I try : sed "s/dirty/clean/" myfile > myfile But after that, myfile is empty... How can...
Summary: Hi! I need help in writing a script, in fact, couple of scripts that should do the following: we have a file, the 1st script divide the file into rand...
Summary: Thanks! That was exactly what I needed. Here is what I used: I saved this as a sed script called sub: s/'[^']*'/\n&/g :loop s/\(\n'[^']*\) \|-\([^']*...
Summary: Can you please post a sample of the data. Does the abcd.sed script really only contain --------------------- (ECONF2) run ECONF2 ---------------------...
Summary: I had no idea this would be so difficult to do, most people have no idea. My idea was using a sed in a csh script since I dont know anything sed scrip...