1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-15 17:47:09 +00:00

Remove \t from sed script

apparently, non-GNU implementations of sed do not understand backslash-sequences.
This commit is contained in:
Pavel Labath 2012-07-13 20:13:36 +02:00
parent ba1919a02e
commit ef6282fedc

View File

@ -36,5 +36,5 @@ outupper="`basename "$2" | tr '[a-z-.]' '[A-Z__]'`"
( (
printf "const char %s[] = \n" "$3" printf "const char %s[] = \n" "$3"
sed -e 's/["\]/\\&/g' -e 's/^/\t"/' -e 's/$/\\n"/' -e '$s/$/;/' "$1" sed -e 's/["\]/\\&/g' -e 's/^/ "/' -e 's/$/\\n"/' -e '$s/$/;/' "$1"
) > "$2" ) > "$2"