Mailing-List: contact cygwin-apps-help AT sourceware DOT cygnus DOT com; run by ezmlm Sender: cygwin-apps-owner AT sourceware DOT cygnus DOT com List-Subscribe: List-Archive: List-Post: List-Help: , Delivered-To: mailing list cygwin-apps AT sources DOT redhat DOT com Message-ID: <013001c00d59$26af0a70$f7c723cb@lifelesswks> From: "Robert Collins" To: "DJ Delorie" Cc: References: <001d01c00d05$0fa8eb60$f7c723cb AT lifelesswks> <20000823152026 DOT H5205 AT cygnus DOT com> <00fd01c00d56$f61cb940$f7c723cb AT lifelesswks> <200008232305 DOT TAA22329 AT envy DOT delorie DOT com> Subject: Re: stropts.h Date: Thu, 24 Aug 2000 09:23:28 +1000 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.3018.1300 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-OriginalArrivalTime: 23 Aug 2000 23:14:31.0718 (UTC) FILETIME=[E4BB7460:01C00D57] ah well. perhaps a wrapper script for mount? anyway the sed script does it for me (usually like mount | sed -f /bin/exportmounts > mymounts.bat) Rob ----- Original Message ----- From: "DJ Delorie" To: Cc: Sent: Thursday, August 24, 2000 9:05 AM Subject: Re: stropts.h > > > what about mount | sed -e '1d' -e '/ system /s/^/-s /' -e 's/ system //' -e > > '/ user /s/^/-u /' -e 's/ user //' -e '/ binmode$/s/^/-b /' -e 's/ > > binmode$//' -e '/ textmode$/s/^/-t /' -e 's/ textmode$//' -e 's/^/mount > > /' -e 's/\\/\\\\/' > mymounts.bat > > I think they wanted us to add an option like this: > > mount --bat > mymounts.bat >