Il 17/01/2012 18:04, pac ha scritto:
Come si fa a inserire a fine riga CR LF in un testo ?Ciao, puoi usare 'unix2dos' e viceversa 'dos2unix', qui c'è un esempio: $ echo "ciao">test $ file test test: ASCII text $ dos2unix test dos2unix: converting file test to Unix format ... $ file test test: ASCII text $ unix2dos test unix2dos: converting file test to DOS format ... $ file test test: ASCII text, with CRLF line terminators alla fine se lo apri con l'editor vi puoi vedere il ^M che simboleggia il <CR><LF>: ciao^M ciaooo senza ^M :-D A. |