64b3656350
Former-commit-id: 0c8d13c5c7a8cdce20af32d10eee42dc7c94bd8a
23 lines
635 B
Bash
23 lines
635 B
Bash
#/bin/bash
|
|
cat $1 | tr "[" "]" | cut -d "]" -f 1,3 | \
|
|
sed 's/]/ means /g' | \
|
|
sed 's/sth/something/g' | \
|
|
sed 's/sb/somebody/g' | \
|
|
sed 's/\// or /g' | \
|
|
sed 's/ v / is a verb /g' | \
|
|
sed 's/ n / is a nome /g' | \
|
|
sed 's/ phr //g' | \
|
|
sed 's/ adj / is an adjective /g' | \
|
|
sed 's/ adv / is a adverb /g' > "`echo $1 | cut -d "." -f 1`_words+type.txt"
|
|
|
|
cat $1 | tr "[" "]" | cut -d "]" -f 1,3 | \
|
|
sed 's/]/ means /g' | \
|
|
sed 's/sth/something/g' | \
|
|
sed 's/sb/somebody/g' | \
|
|
sed 's/\// or /g' | \
|
|
sed 's/ v //g' | \
|
|
sed 's/ n //g' | \
|
|
sed 's/ phr //g' | \
|
|
sed 's/ adj //g' | \
|
|
sed 's/ adv //g' > "`echo $1 | cut -d "." -f 1`_words.txt"
|