Tengo que imprimir las siguientes tres líneas en un comando de impresión sin usar el comando echo. Así que elegí el comando printf. Aquí están las tres líneas:
Different characters can be represented and supported
in the print command, for example:
x-y, X+Y, –, +, <, >, %, $, #, &.
Lo que he hecho hasta ahora es:
printf "
Different characters can be represented and supported
in the print command, for example:
x-y, X+Y, –, +, <, >, %, $, #, &.
"
Pero recibí un error bash para la tercera línea ','.
Entonces, ¿alguien me iluminará?
printcomando y elprintfcomando.