pulseaudio == disaster ??
John Summerfield
debian at herakles.homelinux.org
Tue Nov 13 22:06:16 UTC 2007
David A. De Graaf wrote:
> #!/usr/bin/pulseaudio -nF
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The interpreter for this script
>
> # Create autoload entries for the device drivers
> add-autoload-sink output module-alsa-sink device=plughw:0,0 rate=48000 sink_name=output
> add-autoload-sink output2 module-oss device=/dev/dsp1 record=0 sink_name=output2
> add-autoload-sink combined module-combine master=output slaves=output2 sink_name=combined
>
> < remaining commands snipped >
>
> Clearly, this instruction is not to be taken literally; the script
> contains commands that do not exist in Linux.
Presumably pulseaudio knows how to do those commands.
The purpose of the first line of a shell script is to indentify the
interpreter used to run it. I've seen sh, csh, pdksh, perl, python, wish
and make used this way, and there's bound to be lots more.
The interpreter implements the language.
--
Cheers
John
-- spambait
1aaaaaaa at coco.merseine.nu Z1aaaaaaa at coco.merseine.nu
-- Advice
http://webfoot.com/advice/email.top.php
http://www.catb.org/~esr/faqs/smart-questions.html
http://support.microsoft.com/kb/555375
Please do not reply off-list
More information about the fedora-list
mailing list