diff options
author | Jonas Smedegaard <dr@jones.dk> | 2016-04-16 00:18:16 +0200 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2016-04-16 00:18:16 +0200 |
commit | 59bcce9b9a6d77046398c75a74eb5bbce2719d67 (patch) | |
tree | fc47fdc8e81ee0ac84397f3cf78519c150bfe2af /localdebpool | |
parent | 199aaedd8f9eabf4ce0cdb500b52d6a486bed8cd (diff) |
Fix rewrite compactlist() to emit output as single line.
Diffstat (limited to 'localdebpool')
-rwxr-xr-x | localdebpool | 2 |
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() { |