Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
urgent help in sed
Name: srakesh Date: August 16, 2005 at 23:17:52 Pacific OS: windows xp CPU/Ram: 256 mb ram
Comment:
hi... i want to know how can i take away a portion of a file using sed..if i have 100 records in a file , i want to take away 10 records and place it in a file...then , for every 10 records i should create a new file and place those records in that file..please reply
Summary: Hi I am using sed in a shell script. I am having problems in using parameters in sed for search and replace. TEST=`grep "'/" source | head -1` sed s/$TEST/string1/g source.txt > target.txt This doesn...
Summary: Hi Folks, In sed and/or awk, how would I formulate an if/else logic to skip a command if a specific text already exist in a file? I am getting multiple entries in a text file when the script is execu...
Summary: Hi everyone, I appreciate any help in this matter, I posted a message earlier, about capturing the exit code from the perl script(sub script) in the shell(main script) The following is the perl scrip...