X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=command_util.sh;h=86e0125865fdb24ceb1b42189430e7f5d31416c5;hp=847f87e4ccdd379330c36ed27dc65db4ecc96edb;hb=efc124e295a4df44dd4d60c856e3a3d87f645e96;hpb=65542c43361ce4168f185b4c05835f5f5d09a043 diff --git a/command_util.sh b/command_util.sh index 847f87e4..86e01258 100755 --- a/command_util.sh +++ b/command_util.sh @@ -200,14 +200,6 @@ dump_proto() echo '/**' echo " * $desc_txt" echo ' *' - if [[ "$system_includes" =~ openssl/rc4.h ]]; then - echo ' * \param rc4c The rc4 crypt context.' - else - echo ' * \param fd The file descriptor to send output to.' - fi - echo ' * \param argc The number of arguments.' - echo ' * \param argv The argument vector.' - echo ' * ' echo " * Usage: $usage_txt" echo ' * ' echo "$help_txt" | sed -e 's/^/ * /g' @@ -257,11 +249,11 @@ template_loop() for member in $template_members; do local sed_cmd="sed -e s/@member@/$member/g" #echo "sed_cmd: $sed_cmd" - name_txt=$(echo $t_name | $sed_cmd) + name_txt=$(echo "$t_name" | $sed_cmd) #name_txt="$tname" - perms_txt=$(echo $t_perms | $sed_cmd) - desc_txt=$(echo $t_desc | $sed_cmd) - usage_txt=$(echo $t_usage | $sed_cmd) + 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\n" "$t_help" | $sed_cmd) prototype=$(echo "$template_prototype" | $sed_cmd) $1