[...] for ($start=0;$arr[$start]<15;++$start) {}; for ($end=$#arr;$arr[$end]<15;--$end) {}; print "@seq[$start..$end]\n"; print "@arr[$start..$end]\n";
In reply to Re^3: chopping the beginning and end of lines in 2 files
by ChOas
in thread chopping the beginning and end of lines in 2 files
by heidi
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |