perl -e 'while(<>){chomp; s/root/Root/g; print  "$_\n"; }' /etc/passwd



Il giorno 17 aprile 2012 15:52, Eduardo M KALINOWSKI <
edua...@kalinowski.com.br> ha scritto:

> On Ter, 17 Abr 2012, Chris wrote:
>
>> Firstly I petty much suck at scripting so I need help.
>>
>> I have a file where each line begins with
>>
>> Smtp:
>>
>> I would like have the Smtp: replaced with To:  leaving all that follows
>> in each line untouched and piped into a new file.
>>
>
> man sed
>
>
> --
> The majority of husbands remind me of an orangutang trying to play the
> violin.
>                -- Honor' e DeBalzac
>
> Eduardo M KALINOWSKI
> edua...@kalinowski.com.br
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.**debian.orgwith a
> subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/**20120417105220.Horde.**
> 5niudUisJlFPjXWUaIYVfNA@mail.**kalinowski.com.br<http://lists.debian.org/20120417105220.horde.5niuduisjlfpjxwuaiyv...@mail.kalinowski.com.br>
>
>


-- 
esta es mi vida e me la vivo hasta que dios quiera

Reply via email to