spmenu/scripts/make/generate-argument-list.sh

7 lines
230 B
Bash
Raw Normal View History

2023-03-19 18:26:55 +01:00
#!/bin/sh
2023-06-03 15:19:29 +02:00
# generate-argument-list.sh
# Generates a list of arguments from spmenu -h output.
#
# See LICENSE file for copyright and license details.
2023-03-19 18:26:55 +01:00
spmenu -h | grep -vE -- "- |spmenu:" | sed "s/<//g; s/>/ /g; /^[[:space:]]*$/d"