From fdd455becf054acc4b8d70d106f4f74c4348e386 Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Wed, 24 Nov 2010 23:36:01 +0100 Subject: [PATCH] command_util: Replace tabs by \t. Probably does not matter much... --- command_util.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/command_util.sh b/command_util.sh index f388b2cf..847f87e4 100755 --- 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 '},' } -- 2.39.5