This is the mail archive of the
mailing list for the Cygwin project.
Re: Bridge between windows and Cygwin to use awk on windows files
- From: Igor Pechtchanski <pechtcha at cs dot nyu dot edu>
- To: Bassim Karkachi <bassim dot karkachi at bivision dot net>
- Cc: cygwin at cygwin dot com
- Date: Wed, 11 Sep 2002 00:04:38 -0400 (EDT)
- Subject: Re: Bridge between windows and Cygwin to use awk on windows files
- Reply-to: cygwin at cygwin dot com
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
You can already access all of your windows files with cygwin:
- from within bash/tcsh/sh:
$ cat /cygdrive/c/Temp/blah.txt | awk -e '...'
$ 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 "..."
Hope this helps.
|\ _,,,---,,_ email@example.com
ZZZzz /,`.-'`' -. ;-;;,_ firstname.lastname@example.org
|,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski
'---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow!
It took the computational power of three Commodore 64s to fly to the moon.
It takes a 486 to run Windows 95. Something is wrong here. -- SC sig file
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html