My guess is environment variable. Maybe you got some variable as "normal shell variable" instead of "environment variable". Script will get environment variables, but not normal shell variables.
--William

On 11/6/21 8:25 AM, Jim Ruxton via talk wrote:
Hello,

I'm having trouble with a simple script. It adds a second sounccard. This command works on the command line but not in a script. Any ideas why?

The command line is:

alsa_out -j secondInterface -d hw:3 -c 6


or in a script :

#!/bin/bash
alsa_out -j secondInterface -d hw:3 -c 6

I have also tried the shebang #!/bin/sh  with the same result. alsa_out is in /usr/bin . I'm on Ubuntu 20.04.

Thanks for any advice here.

Jim


---
Post to this mailing list [email protected]
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk
---
Post to this mailing list [email protected]
Unsubscribe from this mailing list https://gtalug.org/mailman/listinfo/talk

Reply via email to