9 lines
158 B
Bash
Executable File
9 lines
158 B
Bash
Executable File
#!/bin/sh
|
|
NAME=$(echo "${@}"|tr : \ )
|
|
|
|
if [[ "$NAME" == machine/* ]]; then
|
|
passage show "${NAME}"
|
|
else
|
|
passage show "${NAME}" | head -c -1
|
|
fi
|