Re: Shell commands like to OS/2 shell (or MS PowerShell)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Tue, 2010-04-20 at 10:00 +0300, Slava Zanko wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Frank Murphy wrote:
> > Bookmark this: http://ss64.com/bash/
> I know about :) This idea just try for standartization of command
> names... I know about posix and LSB,  but these standards  don't make
> logic in the names of commands. Okay, as I see, this idea  don't have
> interest for most...
> 
> To All: in any case, thanks for attention.
> 
> 

Honestly it doesn't effect me since my brain has long since been molded
into the unix way, but what about this as an alternative idea:

In addition to dumping out options when --help is specified, perhaps an
option like --helpxml could be added (maybe even generated from the gnu
getopts data) to dump out information about how the program is used as
well as the options.  Then a gui tool or other front end could parse
that XML and generate an interface for the end users.  AIX (I think)
used to have that for some of the more esoteric sysadmin tools, but they
were one-off wrappers.  It might make it easier for some people to build
complex command lines that use lots of piping...say for parsing logs or
something:

gunzip -fc /www/logs/access* | grep "GET /status" | cut -f 1 -d\  | sort
| uniq -c | sort -n


Or, even as a worst case, perhaps man pages could be parsed, but that is
probably a road to madness.

Brian



> - --
> WBR, Slavaz.
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (GNU/Linux)
> 
> iD8DBQFLzVDzb3oGR6aVLpoRAuIcAJ4qqkjvdiJrI/HugEK9igYKMrdFFACePVrB
> XpjNndoiHl0fgk44C/SGIK8=
> =tyjV
> -----END PGP SIGNATURE-----
> 


-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux