hal-get-property bug or usage misunderstanding?

Behdad Esfahbod behdad at cs.toronto.edu
Sat Jun 19 06:50:14 PDT 2004

On Sat, 19 Jun 2004, David Zeuthen wrote:

> Yeah, this is actually intentional, the only thing that goes to stdout
> is the value of the property, all the rest go to stderr. This is so
> people can get away with doing a FOO=`hal-get-property -udi blah -key
> boo`.

Quoting man bash:

       Command substitution allows the output of a command to replace the com-
       mand name.  There are two forms:


       Bash performs the expansion by executing command and replacing the com-
       mand  substitution  with  the  standard output of the command, with any
       trailing newlines deleted.  Embedded newlines are not deleted, but they
       may  be  removed during word splitting.

> But, yeah there should probably be a manpage stating all this; with time
> we'll have one :-)
> Cheers,
> David


hal mailing list
hal at freedesktop.org

More information about the Hal mailing list