[CRIU] Re: [PATCH 08/10] syscalls: Complete redesign v4

Cyrill Gorcunov gorcunov at openvz.org
Mon Apr 16 07:08:31 EDT 2012


On Mon, Apr 16, 2012 at 03:03:48PM +0400, Pavel Emelyanov wrote:
> 
> You need to convert strings like 
> 
>    foo bar foobar
> 
> into smth like
> 
>    abc def {
>    	foo
>    	smth else
>    	bar
>    } foobar
> 
> This is done like this
> 
>    echo $str | awk '{print abc def { $1 smth else $2 } $4}'
> 
> Very simple :)

OK, thanks, I'll try out ;) I need also ability to strip
comments out of template and check for matching which is
not that simple as plain "print" ;)

	Cyrill


More information about the CRIU mailing list