comp.lang.ada
 help / color / mirror / Atom feed
From: "David C. Hoos, Sr." <david.c.hoos.sr@ada95.com>
Subject: Re: Distributed Ada (Annex E)
Date: Fri, 25 Oct 2002 06:07:44 -0500
Date: 2002-10-25T06:07:44-05:00	[thread overview]
Message-ID: <mailman.1035544142.1517.comp.lang.ada@ada.eu.org> (raw)
In-Reply-To: 807366e2.0210242102.6204eceb@posting.google.com

This has proven enlightening -- GNU sed 3.02 behaves differently
on Linux than on XP -- with the same shell.

On XP I'm using cygwin.  I'll have to get and try mingw, and try
the latest GNU sed (if it's not 3.02), and send a bug report to
the appropriate folks.

----- Original Message -----
From: "Wilhelm Spickermann" <wilhelm.spickermann@t-online.de>
Newsgroups: comp.lang.ada
To: <comp.lang.ada@ada.eu.org>
Sent: October 25, 2002 12:02 AM
Subject: Re: Distributed Ada (Annex E)


> "David C. Hoos" <david.c.hoos.sr@ada95.com> wrote in message
news:<mailman.1035487262.1881.comp.lang.ada@ada.eu.org>...
> ...
> > > > FWIW on my system (XP Professional) GNU sed version 3.02
> > > > works just fine, but clearly the 013 is wrong, unless you're
> > > > trying to delete Vertical Tabs (not very likely).
> > >
> > > Well, my 3.02 works fine too :-) . But AFAIK the backslash is used in sed
> >  to
> > > escape single characters and not for octal notation. So I think
> > > sed 's/\015//g' is the same as
> > > sed 's/015//g' and it does not remove any carriage returns but only
> >  strings
> > > "015".
> > >
> > At the shell prompt I issued sed s/015//g not sed 's/015//g'  -- perhaps
> > that is the
> > difference
> >
> Hmm, I don't see any backslashes in your text... But even if I use
> sed s/\015//g it only results in deleting the string "015" while
> leaving the carriage returns untouched (bash and csh under Linux).
>
> But the original problem was about the result of the lines in
> Garlic/Makefile.in and Dist/config.sdefault. They contained the
> apostrophes. I still presume they never removed any control characters.
>
> Wilhelm
> _______________________________________________
> comp.lang.ada mailing list
> comp.lang.ada@ada.eu.org
> http://ada.eu.org/mailman/listinfo/comp.lang.ada
>
>





  reply	other threads:[~2002-10-25 11:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-10-21 22:04 Distributed Ada (Annex E) Joe Simon
2002-10-22  4:47 ` Dale Stanbrough
2002-10-22  7:54 ` Samuel Tardieu
2002-10-22  8:00   ` Preben Randhol
2002-10-22 13:36   ` Ole-Hjalmar Kristensen
2002-10-22 14:34     ` Ole-Hjalmar Kristensen
2002-10-22 15:58       ` Joe Simon
2002-10-22 21:46     ` Wilhelm Spickermann
2002-10-23  9:40       ` Ole-Hjalmar Kristensen
2002-10-24  5:45         ` Wilhelm Spickermann
2002-10-24  9:45           ` David C. Hoos, Sr.
2002-10-24 11:36             ` Ole-Hjalmar Kristensen
2002-10-24 12:14               ` David C. Hoos, Sr.
2002-10-24 15:27             ` Wilhelm Spickermann
2002-10-24 19:20               ` David C. Hoos
2002-10-25  5:02                 ` Wilhelm Spickermann
2002-10-25 11:07                   ` David C. Hoos, Sr. [this message]
2002-10-25 14:05                     ` Wes Groleau
2002-11-03  1:37 ` David Marceau
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox