9 lines
96 B
Bash
Executable File
9 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
|