diff options
author | Emmanuel Bourg <ebourg@apache.org> | 2015-09-25 17:43:09 +0200 |
---|---|---|
committer | Emmanuel Bourg <ebourg@apache.org> | 2015-09-25 17:43:09 +0200 |
commit | b5b8cfafdf9d2743d9ee29b5fab49206d2c3155f (patch) | |
tree | f07644ea631b27f5d547d923742f5a67cd534129 /scripts | |
parent | 1b427e72e04f473cc4c21e43d023cd40242d9561 (diff) | |
download | java-common-b5b8cfafdf9d2743d9ee29b5fab49206d2c3155f.tar.gz |
Vertical alignment for update-java-alternatives --list
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/update-java-alternatives | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/update-java-alternatives b/scripts/update-java-alternatives index 6dbc92b..9eea19c 100755 --- a/scripts/update-java-alternatives +++ b/scripts/update-java-alternatives @@ -123,7 +123,7 @@ do_list() alias=$(basename ${i%.jinfo}) alias=${alias#.} prio=$(awk -F= '/priority=/ {print $2}' $i) - echo $alias $prio $top/$alias + printf "%-30s %-10s %s\n" $alias "$prio " $top/$alias [ -n "$verbose" ] && egrep "$which" $i done } |