projects
/
paraslash.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Re-revert "Auto-adjust fecdec output buffer size."
[paraslash.git]
/
command_util.sh
diff --git
a/command_util.sh
b/command_util.sh
index 822cad2af5a74037867e95d5613c27e8eb56f2ee..62ad96638c16c56b1a010f662d1affb4accf0bc1 100755
(executable)
--- a/
command_util.sh
+++ b/
command_util.sh
@@
-1,4
+1,4
@@
-#!/
bin/
bash
+#!/
usr/bin/env
bash
read_header()
read_header()
@@
-148,7
+148,7
@@
dump_man()
local t_name_txt=$(echo $name_txt | $sed_cmd)
echo ".SS \"$t_name_txt\""
done
local t_name_txt=$(echo $name_txt | $sed_cmd)
echo ".SS \"$t_name_txt\""
done
- echo "$desc_txt"
+ echo "$desc_txt"
| sed -e "s/@member@/{$(echo $template_members | sed -e 's/ / | /g')}/g"
echo
echo "\\fBUsage: \\fP"
echo
echo
echo "\\fBUsage: \\fP"
echo
@@
-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)
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
prototype=$(echo "$template_prototype" | $sed_cmd)
$1
done