back toc next

References

The "elleff"-Language:

Every vocale c in a word is substituted with clcfc.
--> The ampersand (&) holds the matched string:
bash$ sed -e 's/[aeiou]\+/&l&f&/g'

Referencing a substring

Substrings enclosed with "\(" and "\)" can be referenced with "\n" (n is a digit from 1 to 9)
bash$ sed -e 's/\([^ ]\+\)  *\([^ ]\+\)  *\([^ ]\+\)/\3 \2 \1/'