Let say I have this list:
39dd809b7a36
d83f42ab46a9
9664e29ac67c
66cf165f7e32
51b9394bc3f0
I want to convert the first occurrence of alphabet to uppercase, for example
39dd809b7a36 -> 39Dd809b7a36
bash/awk/sed solution should be ok.
Thanks for the help.
sed 's/\([a-z]\)/\U\1/'sample:optimus:~# echo "96f795e4370a> bfe6f5e05416> 5f70a4463d79> decab73017db> a136f8c01c18> " | sed 's/\([a-z]\)/\U\1/'96F795e4370aBfe6f5e054165F70a4463d79Decab73017dbA136f8c01c18Hopefully people will find it useful. Other solutions is interesting as well. :)