FS#203 - uname -o is not portable
Attached to Project:
Uzbl
Opened by Bart Van Loon (bbbart) - 2010-02-11 09:10:42 AM
Last edited by Dieter Plaetinck (Dieter_be) - 2010-02-25 09:25:16 PM
Opened by Bart Van Loon (bbbart) - 2010-02-11 09:10:42 AM
Last edited by Dieter Plaetinck (Dieter_be) - 2010-02-25 09:25:16 PM
|
Detailswhen running uzbl on FreeBSD, a non-fata error gets printed to the screen:
uname: illegal option -- o usage: uname [-aimnprsv] I guess it's better to use uname -s as that is a (more or less) portable switch. on Linux, -o prints ``GNU/Linux'' (operating system) and -s prints ``Linux'' (kernel name) on FreeBSD, -o yields an error and -s prints ``FreeBSD'' (operating system) |
This task depends upon
Closed by Dieter Plaetinck (Dieter_be)
2010-02-25 09:25:16 PM
Reason for closing: Duplicate
Additional comments about closing: dup of FS#194 <
br />
btw hi Bart!
2010-02-25 09:25:16 PM
Reason for closing: Duplicate
Additional comments about closing: dup of
btw hi Bart!
Comment by Bart Van Loon (bbbart) -
2010-02-11 09:12:37 AM
oh, only now I see that Koen already filed the same bug (#194), but without mentioning ``uname'' (that's what I searched for before posting) :-)