>  PY=`pkg rquery -r FreeBSD "%dn" lang/python | head -n 1 | sed
"s/python//"`

You can even replace head with a sed command if you need to save some
characters on the line:
PY=`pkg rquery -r FreeBSD "%dn" lang/python | sed "s/python//;1q"`

>
_______________________________________________
freebsd-ports@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to "freebsd-ports-unsubscr...@freebsd.org"

Reply via email to