Pages
Home
Legal
Info
HowTos
Code
Publications
Music
Finance
Links
Comics
Donate
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