Pages
Home
Legal
About me
How To
Source Code
Publications
Sheet music
Finance
Link dump
Comics
15/07/2020
[bash] Extract characters before marker from all lines in a file with sed
Using sed, it is possible to quickly extract all characters before a given marker from all lines in a file with:
sed 's/MARKER.*//' file.txt
No comments:
Post a Comment
With great power comes great responsibility
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment
With great power comes great responsibility