remove leftover -F flag

This commit is contained in:
2023-07-19 19:33:52 +01:00
parent eb68e8f136
commit af9e407a90

View File

@ -1,3 +1,6 @@
#!/bin/sh #!/bin/sh
# one-liner to list just the names of packages manually-installed with xbps-install, with no version numbers etc # one-liner to list just the names of packages manually-installed with xbps-install, with no version numbers etc
xbps-query --list-manual-pkgs | awk -F '{gsub(/-[0-9]+.*$/, ""); print $0}' xbps-query --list-manual-pkgs | awk '{gsub(/-[0-9]+.*$/, ""); print $0}'
# alternative sed version:
# xbps-query --list-manual-pkgs | awk -F '{gsub(/-[0-9]+.*$/, ""); print $0}'