help-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: sed example


From: Mason
Subject: Re: sed example
Date: Mon, 02 Jun 2014 10:53:00 +0200
User-agent: Mozilla/5.0 (Windows NT 5.1; rv:29.0) Gecko/20100101 Firefox/29.0 SeaMonkey/2.26

On 31/05/2014 23:24, patrick wrote:

> I would need an example with sed command which do the next:
> parse a input file and write in a file all what performs the pattern:
> 
> typedef [int or char or float or double or long or short]
> 
> I would say that return every line from a file which is a typedef
> for a type;

grep(1) seems more appropriate for that use-case.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]