Pages
(Move to ...)
Home
Info
HowTo
Code
Publications
Finance
Links
Legal
▼
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