cg-help question
- From
- Kumar Gala <kumar.gala@freescale.com>
- Date
- Aug 18, 2005, 14:48 UTC
- Message-ID
- <31C299E0-1EE6-47C8-AE99-E7BEBCC5F01F@freescale.com>
cg-help has the following in it
print_command_listing()
{
for command in "$@"; do
[ -f "$command" -a ! -L "$command" ] || continue
cmdname=$(basename $command)
...
}I was wondering what the [ -f "$command" -o ! -L "$command" ] is trying to test for. In my install the cg-commands are actually symlinks. And this test breaks cg-help from reporting the command list properly.
thanks
- kumar