diff options
author | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-20 20:25:19 +0200 |
---|---|---|
committer | Trygve Laugstøl <trygvis@inamo.no> | 2013-10-20 20:25:56 +0200 |
commit | a6ad0dd211ba4a394d70dd13d3375118b6e5f27a (patch) | |
tree | 1a69089de7b19d8f2e40f7eac5ddf57e0d1d1a0b /app | |
parent | 11cf17750885324a58a68d237b0ac29bc3a6269b (diff) | |
download | app.sh-a6ad0dd211ba4a394d70dd13d3375118b6e5f27a.tar.gz app.sh-a6ad0dd211ba4a394d70dd13d3375118b6e5f27a.tar.bz2 app.sh-a6ad0dd211ba4a394d70dd13d3375118b6e5f27a.tar.xz app.sh-a6ad0dd211ba4a394d70dd13d3375118b6e5f27a.zip |
o Sorting available applications.
Diffstat (limited to 'app')
-rwxr-xr-x | app | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -4,10 +4,14 @@ usage_text() { echo "usage: $usage_app <command>" echo "" echo "Available porcelain commands:" - grep_path "/app-.*$" "$APPSH_HOME/bin" | sed "s,^.*/app-, ," + grep_path "/app-.*$" "$APPSH_HOME/bin" | \ + sed "s,^.*/app-, ," | \ + sort -n echo "" echo "Available plumbing commands:" - grep_path "/app-.*$" "$APPSH_HOME/libexec" | sed "s,^.*/app-, ," + grep_path "/app-.*$" "$APPSH_HOME/libexec" | \ + sed "s,^.*/app-, ," | \ + sort -n } PRG="$0" |