Afficher un message
Vieux 22/04/2008, 17h50   #6
Bill Marcum
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Filtering chars with sed

On 2008-04-22, tomasorti <tomasorti@gmail.com> wrote:
>
>
> Thank you very much, Dave.
> I can't find an online sed tutorial about the uses of % in sed.
> At least, I can't find it in here:
> http://www.grymoire.com/Unix/Sed.html
> and it is the first match for "sed tutorial" on Google.
> Could you link me one?
>

'%' isn't special in sed, but the 's' command lets you use any
character including '%' as a delimiter.

>> On Tuesday 22 April 2008 16:32, Dave B wrote:
>>
>> > sed 's%^.*/%%' yourfile

>>

  Réponse avec citation
 
Page generated in 0,05474 seconds with 9 queries