threads / discuss / 1572

cg-help question

Subject: cg-help question

## tl;dr

One message between Aug 18, 2005 and Aug 18, 2005.

replies: 0people: 1as markdown or json

Kumar Gala· Aug 18, 2005, 14:48 UTC · lore
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

← back to recent threads