On Tue, Nov 29, 2011 at 3:15 PM, Tim McDaniel <t...@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

Reply via email to