Обратное преобразование каждого слова строки с помощью sed
Description
-----------
The job to do is reversing every word of a line.
that a word is a sequence of lowercase alphabets
Raw Input
---------
112358 is a fibonacci sequence...
a test line
124816 1392781
final line...
Desired Output
--------------
112358 si a iccanobif ecneuqes...
a tset enil
124816 1392781
lanif enil...
Урок отсюда очень хороший. Пример: echo "nixcraft" | rev. И для части SED, heres из этой ссылки.