Friday, 6 September 2013

A command that I ran that works wrongly in sed

A command that I ran that works wrongly in sed

this command does not work in sed, version 4.2.1.
sed 's/[[:upper:]]/[[:lower:]]/' <file.
although it does detect the upper case pattern, it does not do the
conversion to lower case, rather it converts the captured patterns to
[[:lower:]]. any workaround?

No comments:

Post a Comment