Messages in this thread | | | From | Andreas Schwab <> | Subject | Re: [PATCH v2] selftests/ftrace: Use printf for backslash included command | Date | Mon, 11 May 2020 15:42:10 +0200 |
| |
On Mai 11 2020, Masami Hiramatsu wrote:
> - (! echo "$command" >> "$3" ) 2> /dev/null > + (! printf "%s" "$command" >> "$3" ) 2> /dev/null
printf %s does not print a newline, you need printf '%s\n' for that.
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different."
| |