Search Results

Search: Posts Made By: msz59
2,203
Posted By msz59
Sed: deleting last line prevents '$' address from working in the multi-script invocation
It looks like if matching and deleting the last line confuses 'sed' so it does not recognize '$' address. Consider:

sed -e '/^3/d' -e '$ a text'

supposed to delete a line starting with '3' and...
Showing results 1 to 1 of 1

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