www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/1999/04/03/13:30:55

Sender: nate AT cartsys DOT com
Message-ID: <37065D83.8E99492@cartsys.com>
Date: Sat, 03 Apr 1999 10:27:15 -0800
From: Nate Eldredge <nate AT cartsys DOT com>
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.5 i586)
MIME-Version: 1.0
To: djgpp-workers AT delorie DOT com
Subject: Re: patch for <sys\types.h>
References: <199904022112 DOT VAA62116 AT out4 DOT ibm DOT net> (snowball3 AT usa DOT net) <199904030414 DOT EAA41006 AT out4 DOT ibm DOT net>
Reply-To: djgpp-workers AT delorie DOT com

Mark E. wrote:
> 
> > <sys/types.h> it should go in the non-posix section.  Bash should know
> > better, though, and *should* use <time.h>.
> 
> It's more of an Autoconf problem than a Bash problem. Autoconf's
> AC_CHECK_TYPE checks <sys/types.h> and so does the AC_TYPE_*
> macros.
> 
> > Forward slashes.  Forward slashes!
> 
> It's too easy to forget! Perhaps if the port of the next version of the diff
> utils converted backslashes to slashes?

Here's a sed script that will do it.

sed -e '/^+++ /s,\\,/,g' -e '/^--- /s,\\,/,g' -e '/^*** /s,\\,/,g'
-- 

Nate Eldredge
nate AT cartsys DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019