Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # This script will request a port name and find its version number.
- echo "Type the port name that you require the version number for followed by [ENTER]:"
- read port
- portupgrade `pkg_info -x $port | head -1 | rev | cut -b 2- | awk '{print $1}' | rev`
- exit 0
Add Comment
Please, Sign In to add comment