On Fri, Mar 27, 2015 at 01:20:48PM +0100, Luca Barbato wrote:
> On 27/03/15 11:17, Diego Biurrun wrote:
> 
> > regexp-replace is your friend.
> 
> s:^\( *\)\(.,\) :\1 \2:
> 
> assuming 2 digits.

Simple regexp replacements with one's favorite editor are not common
knowledge anymore?

IMO simpler:

sed -i -e 's/^    \([0-9],\) /     \1/' foo.c

Note that '-i' is a GNU extension of sed.

Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to