Pages

Monday, July 1, 2024

SED

 1) how to ignore sed operation in last line alone


# sed -e "$ ! s/a/b/"


2) SED Remove last character from line 


# sed 's/.$//'

No comments:

Post a Comment