Update 2023-02-22 08:31 OpenBSD/amd64
This commit is contained in:
8
.bin/sort-wantlib
Executable file
8
.bin/sort-wantlib
Executable file
@@ -0,0 +1,8 @@
|
||||
#!/bin/sh
|
||||
|
||||
cat | sed 's/^WANTLIB[[:blank:]+=]*//g' \
|
||||
| tr ' ' '\n' \
|
||||
| sort -u \
|
||||
| fmt -w60 \
|
||||
| sed 's/^/WANTLIB += /g'
|
||||
# | sed '1s/^WANTLIB += /WANTLIB = /'
|
||||
Reference in New Issue
Block a user