On 04/24/2012 03:10 PM, Konstantin Khlebnikov wrote: > printf() has standard flag for adding "0x" prefix before hexadecimal integer. > > MOD='[-+]\?[0-9]*.\?[0-9]*[lL]*' > git grep -l "0x%#${MOD}x" | xargs -n1 sed -e "s/0x%#\(${MOD}\)x/%#\1x/g" -i Applied