while ($i = <STDIN>) { chomp $i; if ($i) { $buffer{$i} = 1; } else { last; } }
and then output with
sort keys %buffer.
On systems without case sensitivity of paths you should uc or lc the inputted paths as well.
In reply to Re: Entry Integrity
by girarde
in thread Entry Integrity
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |