X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command_util.sh;h=3c2d789f3e0b54983634155f2422baf0030f4a9f;hp=822cad2af5a74037867e95d5613c27e8eb56f2ee;hb=402efdf74cfb926b72aa02d10585d22e456c07a4;hpb=5e54609eda6f4417e8b7042db59ecf47fd720751;ds=inline diff --git a/command_util.sh b/command_util.sh index 822cad2a..3c2d789f 100755 --- a/command_util.sh +++ b/command_util.sh @@ -1,4 +1,4 @@ -#!/bin/bash +#!/usr/bin/env bash read_header() @@ -263,7 +263,7 @@ template_loop() perms_txt=$(echo $t_perms | $sed_cmd) desc_txt=$(echo $t_desc | $sed_cmd) usage_txt=$(echo $t_usage | $sed_cmd) - help_txt=$(printf "%s" "$t_help" | $sed_cmd) + help_txt=$(printf "%s\n" "$t_help" | $sed_cmd) prototype=$(echo "$template_prototype" | $sed_cmd) $1 done