# cg-help question

1 messages from 2005-08-18 to 2005-08-18. Participants: Kumar Gala.
Thread: https://gitlist.dev/t/1572

## Kumar Gala, 2005-08-18 14:48

Subject: cg-help question
Message-ID: <31C299E0-1EE6-47C8-AE99-E7BEBCC5F01F@freescale.com>
URL: https://gitlist.dev/e/31C299E0-1EE6-47C8-AE99-E7BEBCC5F01F%40freescale.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

```
