projects
/
paraslash.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
92f089b
)
command_util: Replace tabs by \t.
author
Andre Noll
<maan@systemlinux.org>
Wed, 24 Nov 2010 22:36:01 +0000
(23:36 +0100)
committer
Andre Noll
<maan@systemlinux.org>
Thu, 20 Jan 2011 19:29:41 +0000
(20:29 +0100)
Probably does not matter much...
command_util.sh
patch
|
blob
|
history
diff --git
a/command_util.sh
b/command_util.sh
index f388b2cfb152db7cf34e0b2f84313ba26a209903..847f87e4ccdd379330c36ed27dc65db4ecc96edb 100755
(executable)
--- a/
command_util.sh
+++ b/
command_util.sh
@@
-229,6
+229,7
@@
dump_proto()
dump_array_member()
{
+ local TAB=' '
echo '{'
echo ".name = \"$name_txt\","
echo ".handler = com_$name_txt,"
@@
-238,7
+239,8
@@
dump_array_member()
echo ".description = \"$desc_txt\","
echo ".usage = \"$usage_txt\","
echo ".help = "
- printf "%s\n" "$help_txt" | sed -e 's/^/\"/g' -e 's/$/\\n\"/g'
+ printf "%s\n" "$help_txt" | sed -e 's/^/\"/g' -e 's/$/\\n\"/g' \
+ -e "s/$TAB/\\\t/g"
echo '},'
}