summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlocaldebpool2
1 files changed, 1 insertions, 1 deletions
diff --git a/localdebpool b/localdebpool
index 6c00243..6a7a2ab 100755
--- a/localdebpool
+++ b/localdebpool
@@ -19,7 +19,7 @@ debugprint() {
}
compactlist() {
- echo "$*" | perl -nlE "say for /(\S+)/g" | sort -u
+ echo "$*" | perl -0777 -ae 'print join " ", sort grep !$seen{$_}++, @F'
}
regexfromlist() {