whatisthis987
IS-IT--Management
Hi,
I have a script that does substituion with s command.
eg:
#!/bin/sed -f
s/regexp/replacement/
so at Unix/Linux prompt,
%>./script original_file >new_file
It works like a charm but I also need to add strings/texts to the new_file. How do I do it in the same script?
Please help.
I have a script that does substituion with s command.
eg:
#!/bin/sed -f
s/regexp/replacement/
so at Unix/Linux prompt,
%>./script original_file >new_file
It works like a charm but I also need to add strings/texts to the new_file. How do I do it in the same script?
Please help.