1 2 3 4 5 6 7 8 9 10 11
#! /bin/sh t=$1; shift if test -n "$t"; then L=-Wl for c in "$@"; do L=$L,"$c" done; echo $L else echo "$@" fi