[Kolab-devel] Kolab Build Scripts
Stephan Buys
s.buys at codefusion.co.za
Thu May 29 15:35:42 CEST 2003
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
--
Stephan Buys
Technical Director
Code Fusion cc.
Tel: +27 11 391 1412
Mobile: +27 83 294 1876
Email: s.buys at codefusion.co.za
More information about the devel
mailing list