Muszę wydrukować następujące trzy wiersze w jednym poleceniu drukowania bez użycia polecenia echo. Więc wybrałem polecenie printf. Oto trzy linie:
Different characters can be represented and supported
in the print command, for example:
x-y, X+Y, –, +, <, >, %, $, #, &.
Do tej pory zrobiłem:
printf "
Different characters can be represented and supported
in the print command, for example:
x-y, X+Y, –, +, <, >, %, $, #, &.
"
Ale dostałem błąd bash dla trzeciej linii „,”.
Czy ktoś mnie oświeci.
printpoleceniemprintfpolecenie.