Search Results

Search: Posts Made By: ericonanson
7,072
Posted By ericonanson
Thanks Tony
Hi Tony,

thank you for your reply.

I have it working now.

What I figured out was I should have used Korn Shell not Bash.

SFU uses the Korn shell and once I figured that out I redid my...
7,072
Posted By ericonanson
What is currently working
Thanks for your suggestion, what I am looking for now is to loop through the list.

I have just modified the code to:
cat $filename2 | sed '/Email/d;/Web/d' > temp.1
mv temp.1 $filename2
...
7,072
Posted By ericonanson
How to use a dynamic filename with sed?
I have a line that works for static filename
cat /directorypath/filename | sed '/[text pattern1]/d;/[text pattern2]/d' > filename

This approach when used in a script works well.

Then i need...
Showing results 1 to 3 of 3

 
All times are GMT -4. The time now is 07:07 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy