delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/11/00:08:29

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Wed, 11 Sep 2002 00:08:30 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Bridge between windows and cygwin to use awk on windows files
Message-ID: <20020911040830.GB18878@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <FHEFJLFPBHFBPGNLKNPKAEHDEDAA DOT bassim DOT karkachi AT bivision DOT net> <Pine DOT GSO DOT 4 DOT 44 DOT 0209110000410 DOT 1269-100000 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.44.0209110000410.1269-100000@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4i

On Wed, Sep 11, 2002 at 12:04:38AM -0400, Igor Pechtchanski wrote:
>On Tue, 10 Sep 2002, Bassim Karkachi wrote:
>
>> Hi -
>> I'm beginner, I'm trying to set up a directory where I can find windows
>> files while using cygwin. I would like to be able to run some awk script on
>> windows created files. Any help or suggestion
>> Bassim
>
>You can already access all of your windows files with cygwin:
>- from within bash/tcsh/sh:
>	$ cat /cygdrive/c/Temp/blah.txt | awk -e '...'
>  or even
>	$ cat `cygpath -u 'C:\Temp\blah.txt'` | awk -e '...'
>- from a dos prompt (you should have C:\cygwin\bin in your path):
>	C:\> type C:\Temp\blah.txt | awk -e "..."

Why not just

awk -e "..." filename

?

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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