- chore(unitproc/bkt-replace_apostrophes):Move to unitproc/bkt-replace_apos
# Input: stdin
# arg1 file path
# Output: stdout
# Input: stdin
# arg1 file path
# Output: stdout
- # Version: 1.0.0 (BK-2020-03)
+ # Version: 1.1.0 (BK-2020-03)
# Depends: GNU sed 4.8
# Check input
# Depends: GNU sed 4.8
# Check input
-e "s/(she|She|SHE)'(d|D|ll|LL)'(ve|VE)/\1ʼ\2ʼ\3/g" \
-e "s/(she|She|SHE)'(d|D|ll|LL|s|S)/\1ʼ\2/g" \
-e "s/(shan|Shan|SHAN)'(t|T)/\1ʼ\2/g" \
-e "s/(she|She|SHE)'(d|D|ll|LL)'(ve|VE)/\1ʼ\2ʼ\3/g" \
-e "s/(she|She|SHE)'(d|D|ll|LL|s|S)/\1ʼ\2/g" \
-e "s/(shan|Shan|SHAN)'(t|T)/\1ʼ\2/g" \
+ -e "s/'(s|S)\b/ʼ\1/g" \
+ -e "s/(s|S)'( |$)/\1ʼ\2/g" \
-e "s/(oughtn|Oughtn|OUGHTN)'(t|T)'(ve|VE)/\1ʼ\2ʼ\3/g" \
-e "s/(oughtn|Oughtn|OUGHTN)'(t|T)/\1ʼ\2/g" \
-e "s/(o|O)'(clock|CLOCK)/\1ʼ\2/g" \
-e "s/(oughtn|Oughtn|OUGHTN)'(t|T)'(ve|VE)/\1ʼ\2ʼ\3/g" \
-e "s/(oughtn|Oughtn|OUGHTN)'(t|T)/\1ʼ\2/g" \
-e "s/(o|O)'(clock|CLOCK)/\1ʼ\2/g" \