That doesn't work like you think it does. You should head your own advice and read the docs for $/. $/ is treated as a string, not a regexp pattern. Try it with the file
fff aaa bbb ccc ddd fff aaa bbb ccc ddd
In reply to Re^2: Extracting Lines of a text file
by ikegami
in thread Extracting Lines of a text file
by fatfinger
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |