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