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.
Copy multiple lines into a line wit
Name: squarewave Date: May 5, 2005 at 02:49:00 Pacific OS: Solaris CPU/Ram: 512
Comment:
Hi, I have a text file which looks like aaaaaa bbbbbb cccccc What should be the sed command to produce a one line output like aaaaaa, bbbbbb, cccccc
Summary: I am a beginner of shell scripts. I need help in writing a script for replacing duplicate of multiple lines in a list of files in a directory with some other lines. For example, I have got some files...
Summary: Hi, My query is as follows: (1) I want to write a Schell Script which will first read files (file as variable).Each file contains multiple lines/records. (2) Each line /record in a file has a multip...
Summary: Can someone help! I created a variable (ddir=`ps -ef | grep apa`) that I would like to insert into a text file (STOP) in the 5th line of file. I created a sed command as such, but does not work: sed ...