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

Re: [OT] Regular expression



On Monday 08 January 2007 13:54, Amir Tabatabaei wrote:
> sed -e 's/2006\n/2006/' datei

Mach das Gleiche in Vim und es geht:
vim -c "%s/2006\n/2006/" -c "wq" <datei>
Dito Perl
perl -pi -e 's/2006\n/2006/' <datei>

Gruß gebhard
-- 
You like to form new friendships and make new acquaintances.



Reply to: