What about a one-liner like:
~$ cat monks001.txt hdhdklsklfhklfhfl hklhifdhfeihfiohfhf hlhfdlhdfdhflfhhfhf oioooooooooooooo This is the temp line. aaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaa sssssssssssssssssssss ~$ perl -ne 'print unless 1 .. /temp/' monks001.txt aaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaa sssssssssssssssssssss ~$
In reply to Re: Reading a file from any arbitrary place in the file.
by bfilipow
in thread Reading a file from any arbitrary place in the file.
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |