Re: ver_linux script

From: Mike A. Harris (mharris@meteng.on.ca)
Date: Thu Mar 09 2000 - 16:08:20 EST


On Thu, 9 Mar 2000, Ville Herva wrote:

>> > Perhaps "uname -a" in linux_ver script should changed to
>> > "cat /proc/version"?
>>
>> Or maybe uname should be changed to include the compiler?
>>
>> Just a thought
>
>Sounds good unless there are some kind of unix standard issues on what
>uname should return.

Standards or not, many scripts use awk/sed/perl to grab columns
of output from uname. Change the order of the columns, or number
of them, and you break many userland scripts.

-- 
Mike A. Harris                                     Linux advocate     
Computer Consultant                                  GNU advocate  
Capslock Consulting                          Open Source advocate

Suspicious Anagram #4: Word: PRESIDENT CLINTON OF THE USA Anagram: TO COPULATE HE FINDS INTERNS

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Mar 15 2000 - 21:00:16 EST