[Kolab-devel] Kolab Build Scripts
Maarten Stolte
maarten.stolte at papuaos.org
Thu May 29 13:57:20 CEST 2003
Hi,
nearly there:
Downloading: patch-2.5.9-20030520.src.rpm
--14:01:25--
ftp://ftp.openpkg.org/current/SRC/patch-2.5.9-20030520.src.rpm%0D
If I'd know what the %0D's are, i could strip it in perl
Maarten
On Thu, 2003-05-29 at 15:35, Stephan Buys wrote:
> My suspicion is that there is a better way (or utility) to do it.
>
> Try the following as a substitute for line 51:
>
> file=`echo $file | perl -e "@line = <>; foreach (@line) { chomp; print; } "`
>
> This perl one-liner might work on both (though it failed on my machine ??)
>
> On Thursday 29 May 2003 11:35, Maarten Stolte wrote:
> > On Thu, 2003-05-29 at 15:06, Stephan Buys wrote:
> > > Hi Maarten,
> > >
> > > Do you have sed installed?
> >
> > yes i do: GNU sed version 3.02.
> > For my RHL9 workstation with sed version 4.0.5 it works...
> > What we need it seems is either something that works for both, or detect
> > the sed version...
> >
> > > I try to get rid of the carriage return and
> > > newline characters (%0D in the examples below) using sed. It seems
> > > that for some reason this is not working. There might be a better way
> > > to do it.
> > >
> > > Check line 51.
> >
> > _______________________________________________
> > Kolab-devel mailing list
> > Kolab-devel at intevation.org
> > https://kroupware.org/mailman/listinfo/kolab-devel
More information about the devel
mailing list