12 lines
219 B
Bash
Executable File
12 lines
219 B
Bash
Executable File
#!/bin/sh
|
|
NAME=$(echo "${@}"|tr : \ )
|
|
|
|
case "$NAME" in
|
|
machine/*)
|
|
passage show "${NAME}"
|
|
;;
|
|
*)
|
|
passage show "${NAME}" | head -c -1
|
|
;;
|
|
esac
|