[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
who - argv not checked for values ?
From: |
Sujith Ramakrishnan Nair |
Subject: |
who - argv not checked for values ? |
Date: |
Mon, 9 Feb 2009 01:19:31 -0500 |
I saw some old track back on this subject, but nothing conclusive.
This is not a burning issue , but a minor irritant.
Why are we not checking for the values being passed for 2nd & 3rd options
when we are not invoking any options ?
See below.
address@hidden:~
[ 0 ] $ uname -a
Linux parakram 2.6.27-11-generic #1 SMP Thu Jan 29 19:28:32 UTC 2009 x86_64
GNU/Linux
address@hidden:~
--- shouldn'd we have thrown an error for the below 2 ?
[ 0 ] $ who the hell
sujith pts/0 2009-02-09 00:57 (:0.0)
address@hidden:~
[ 0 ] $ who the hell did this
who: extra operand `did'
Try `who --help' for more information.
address@hidden:~
[ 1 ] $ who am i
sujith pts/0 2009-02-09 00:57 (:0.0)
address@hidden:~
[ 0 ] $
The closest i could see was this
thread<http://lists.gnu.org/archive/html/bug-coreutils/2008-05/msg00131.html>
regards,
Sujith
- who - argv not checked for values ?,
Sujith Ramakrishnan Nair <=