oops, this is a shell quoting problem, try using double quotes around the - instead of single ones:
perl -ne 'BEGIN { $_ = "-" x (260 * 1024 * 1024 )} print and next if l +ength($_)==1001; print STDERR $_' suspect.txt > goodrecs.txt 2> badre +cs.txt
In reply to Re^3: Thrashing on very large lines
by salva
in thread Thrashing on very large lines
by chr1so
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |