Search Results

Search: Posts Made By: escooter87
1,988
Posted By escooter87
No, I do not see the -E option available in AIX...
No, I do not see the -E option available in AIX for sed.

I have attached part of the sed man page.
1,988
Posted By escooter87
Thanks for the replies drysdalk and rudic. ...
Thanks for the replies drysdalk and rudic.

drysdalk - I was able to achieve what I wanted from the example of your code!, thanks!
sed -e "/^cat /d" -e "/ cat$/d" -e "/ cat /d"


rudic - Sadly...
1,988
Posted By escooter87
Sorry, I was not meaning to double post, I though...
Sorry, I was not meaning to double post, I though it would be better to have thread in 'Shell Programming and Scripting ' then here, "programming" So I was going to delete this thread.
Thanks for...
1,721
Posted By escooter87
Issues with using sed with word delimiters \< and \>
sed is not applying /d "delete line" option when I also include match word options \< and \>

examples...
echo cat | sed '/\<cat\>/d'

will return cat for some reason

echo cat | sed...
1,988
Posted By escooter87
sed not applying /d "delete line" option
So I'm on an AIX machine.

And sed is not applying /d "delete line" option when I also include match word options \< and \>

examples...
echo cat | sed '/\<cat\>/d'will return cat for some...
Showing results 1 to 5 of 5

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