pamsi (139B)
1 #!/bin/bash 2 3 # move stdin sink inputs to $1 4 5 while read l 6 do 7 ID=$(echo "$l" | awk '{print $1}') 8 pacmd move-sink-input "$ID" "$1" 9 done 10