script(1) > Why does it output in CR/LF?

Glenn Dawson glenn at
Tue Feb 28 03:00:22 PST 2006

At 02:30 AM 2/28/2006, Kristian Vaaf wrote:

>I am just curious why the files I generate with script(1) output in CR/LF
>forcing me to run dos2unix on them everytime?

Script just captures the output of your shell, and your shell has to 
send crlf in order to get the cursor back to the beginning of a line.


>Isn't this a bit stupid?
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

More information about the freebsd-questions mailing list