Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 28 Feb 2006 02:59:28 -0800
From:      Glenn Dawson <glenn@antimatter.net>
To:        Kristian Vaaf <vaaf@broadpark.no>, questions@freebsd.org
Subject:   Re: script(1) > Why does it output in CR/LF?
Message-ID:  <7.0.1.0.2.20060228025256.039d9f68@antimatter.net>
In-Reply-To: <7.0.1.0.2.20060228112857.0035f998@broadpark.no>
References:  <7.0.1.0.2.20060228112857.0035f998@broadpark.no>

next in thread | previous in thread | raw e-mail | index | archive | help
At 02:30 AM 2/28/2006, Kristian Vaaf wrote:

>Hello.
>
>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.

-Glenn


>Isn't this a bit stupid?
>
>Thanks,
>Vaaf
>
>_______________________________________________
>freebsd-questions@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7.0.1.0.2.20060228025256.039d9f68>