aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTrygve Laugstøl <trygvis@inamo.no>2013-10-20 20:25:19 +0200
committerTrygve Laugstøl <trygvis@inamo.no>2013-10-20 20:25:56 +0200
commita6ad0dd211ba4a394d70dd13d3375118b6e5f27a (patch)
tree1a69089de7b19d8f2e40f7eac5ddf57e0d1d1a0b
parent11cf17750885324a58a68d237b0ac29bc3a6269b (diff)
downloadapp.sh-a6ad0dd211ba4a394d70dd13d3375118b6e5f27a.tar.gz
app.sh-a6ad0dd211ba4a394d70dd13d3375118b6e5f27a.tar.bz2
app.sh-a6ad0dd211ba4a394d70dd13d3375118b6e5f27a.tar.xz
app.sh-a6ad0dd211ba4a394d70dd13d3375118b6e5f27a.zip
o Sorting available applications.
-rwxr-xr-xapp8
1 files changed, 6 insertions, 2 deletions
diff --git a/app b/app
index 81c2c36..e0c81a4 100755
--- a/app
+++ b/app
@@ -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"