Pages
(Move to ...)
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
‹
›
Home
View web version
No comments:
Post a Comment
With great power comes great responsibility