diff options
Diffstat (limited to 'devtools/bin/uniqifylist.pl')
| -rw-r--r-- | devtools/bin/uniqifylist.pl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devtools/bin/uniqifylist.pl b/devtools/bin/uniqifylist.pl new file mode 100644 index 0000000..1c3fd9c --- /dev/null +++ b/devtools/bin/uniqifylist.pl @@ -0,0 +1,6 @@ +foreach $_ (sort <> ) +{ + next if( defined( $prevline ) && $_ eq $prevline ); + $prevline = $_; + print; +} |