Showing posts with label posix. Show all posts
Showing posts with label posix. Show all posts

2010-08-06

Sort with uniq comma separated items with POSIX utils.

Suppose you have string:
str="item4, item2, item3, item2, ..."
and want alphabetically sort items in shell script.