service (96B)
1 #!/bin/sh 2 3 sed 's~/.*~~' < /etc/services | awk -v "pattern=$1" '$1 == pattern || $2 == pattern'