[SLE] rcs and shell scripting
Ok, folks I have used another verions of rcs in the past, it has a switch -F <filename>. The <filename> would be a file that contains a list of files to check in/out. The version of rcs that comes with Linux doesn't have this option. How do I simulate this? Does anyone have an idea on how I can take a file that has one file per line and put them all onto the back end of a commend line? If the file is: /-------------Begine line1 line2 line3 /-------------End I want it to end up like this ci line1 line2 line3 How can I do this? -- Sam Carleton ------------ http://www.bigfoot.com/~scarleton (Homepage) http://www.uptimes.net/hostinfo.html?hid=1218 (Linux Box) -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
Hi, On Thu, Feb 03, 2000 at 15:20 -0500, Sam Carleton wrote:
Does anyone have an idea on how I can take a file that has one file per line and put them all onto the back end of a commend line? If the file is:
/-------------Begine line1 line2 line3 /-------------End
I want it to end up like this
ci line1 line2 line3
Try <program> `perl -pe 's#\n# #' <file>` Ciao, Stefan -- To unsubscribe send e-mail to suse-linux-e-unsubscribe@suse.com For additional commands send e-mail to suse-linux-e-help@suse.com Also check the FAQ at http://www.suse.com/Support/Doku/FAQ/
participants (2)
-
activex1@one.net
-
stefan.troeger@wirtschaft.tu-chemnitz.de