Re: pulseaudio == disaster ??

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx  Z1aaaaaaa@xxxxxxxxxxxxxxxx
-- 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


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux