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:
parent
ba1919a02e
commit
ef6282fedc
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user