14 lines
228 B
Bash
14 lines
228 B
Bash
|
#!/bin/bash
|
||
|
|
||
|
if [ "$#" -ne 1 ]; then
|
||
|
echo "This scripts takes exactly one argument" 1>&2
|
||
|
exit 1;
|
||
|
fi;
|
||
|
|
||
|
if [ -z "$1" ]; then
|
||
|
echo "The argument should not be empty" 1>&2
|
||
|
exit 1;
|
||
|
fi;
|
||
|
|
||
|
export FN="$(echo "$1" | sed "s/\\./-/g")"
|