5 lines
219 B
Bash
Executable File
5 lines
219 B
Bash
Executable File
#!/bin/bash
|
|
[ -z "$1" ] && echo "no prefix plans found !!
|
|
All plans can be display with: upctl server plans" && exit 1
|
|
upctl server plans | grep $1 | awk '{ print $1}' | sed 's/^/\| "/g' | sed 's/$/"/g' | tr -d "\n"
|