converting all Lower chareacters to Upper and vice versa using sed
Posted 03-27-2014 at 06:30 AM by dinakumar12
sed -i 's/\(.*\)/\U\1/' samplefile #This converts the contents of samplefile (filename) from Lower to upper
sed -i 's/\(.*\)/\L\1/' samplefile #This converts the contents of samplefile (filename) from Upper to Lower
sed -i 's/\(.*\)/\L\1/' samplefile #This converts the contents of samplefile (filename) from Upper to Lower
Total Comments 0