On Mon, May 19, 2003 at 02:17:54PM +0300, Serhiy Brytskyy wrote: > cat `which soundwrapper` > #!/bin/sh > > if [ "`/sbin/pidof artsd`" ] ; then Is it valid shell syntax, by the way? > exec artsdsp "$@" > else > if [ "`/sbin/pidof esd`" ]; then > exec esddsp "$@" > else > echo "soundwrapper: Execute \"$@\" without artsdp or esddsp." >&2 > exec "$@" > fi > fi