Dan Nicholson wrote:
> On 1/29/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>>  gzip --version | head -n1
>> -cat /proc/version | head -n1 | cut -d" " -f1-3,5-7
>> +cat /proc/version | head -n1
> 
> You know, head takes a file argument, making the cat unnecessary.
> 
> head -n1 /proc/version

/proc/version always contains one line, making the "head" unneeded.

cat /proc/version

-- 
Alexander E. Patrakov
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to