Re: Using pkg in documentation

2020-04-26 Thread Samy Mahmoudi
efault configuration where the user has not configured several repositories. As you cannot guarantee that last condition is met, I would suggest not to omit that part. I hope this will help, Samy Mahmoudi ___ freebsd-python@freebsd.org mailing list htt

Re: Using pkg in documentation

2020-04-26 Thread Samy Mahmoudi
> 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