Shell script - is this expected behaviour?

DSB yahoo@boyski.com
Tue Nov 29 23:13:00 GMT 2011


On Tue, Nov 29, 2011 at 3:15 PM, Tim McDaniel <tmcd@panix.com> wrote:
> I don't have the time to experiment at the moment...

Likewise, but it seems likely some existing utilities like "line" or
"head -n1" might do the job. E.g.
foo=$(line < file)
foo=$(head -n1 file)
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple


More information about the Cygwin mailing list

AltStyle によって変換されたページ (->オリジナル) /