13 lines
242 B
Bash
Executable File
13 lines
242 B
Bash
Executable File
PREFIX=%miki
|
|
SUFFIX=miki%
|
|
|
|
echo sed -i '' "s/$/$SUFFIX/"
|
|
if [[ "$(uname)" = "Darwin" ]]
|
|
then
|
|
LC_CTYPE='C' sed -i '' "s/^/$PREFIX/" $1
|
|
LC_CTYPE='C' sed -i '' "s/$/$SUFFIX/" $1
|
|
else
|
|
sed -i "s/^/$PREFIX/" $1
|
|
sed -i "s/$/$SUFFIX/" $1
|
|
fi
|