Print a file until a regular expression is matched.
cat file.txt | perl -pe "exit if(/Thats all/)"
Byte sized tech know-how.
Print a file until a regular expression is matched.
cat file.txt | perl -pe "exit if(/Thats all/)"
Copyright © 2024 Txt