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
>>