8 lines
96 B
Bash
Executable file
8 lines
96 B
Bash
Executable file
#!/bin/bash
|
|
set -eo pipefail
|
|
|
|
if [ $2 -eq 1 -o $2 -eq -1 ]; then
|
|
echo ${1}
|
|
else
|
|
echo ${1}s
|
|
fi
|