{"thread":{"id":"1572","subject":"cg-help question","startedAt":"2005-08-18T14:48:58Z","lastAt":"2005-08-18T14:48:58Z","messageCount":1,"participants":["Kumar Gala"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"7504","messageId":"31C299E0-1EE6-47C8-AE99-E7BEBCC5F01F@freescale.com","threadId":"1572","inReplyTo":null,"subject":"cg-help question","fromName":"Kumar Gala","fromEmail":"kumar.gala@freescale.com","sentAt":"2005-08-18T14:48:58Z","receivedAt":"2005-08-18T14:48:58Z","isPatch":false,"sender":{"key":"kumar.gala@freescale.com","avatar":null},"body":"cg-help has the following in it\n\nprint_command_listing()\n{\n         for command in \"$@\"; do\n                 [ -f \"$command\" -a ! -L \"$command\" ] || continue\n                 cmdname=$(basename $command)\n...\n}\n\nI was wondering what the  [ -f \"$command\" -o ! -L \"$command\" ] is  \ntrying to test for.  In my install the cg-commands are actually  \nsymlinks.  And this test breaks cg-help from reporting the command  \nlist properly.\n\nthanks\n\n- kumar\n"}]}