Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Thu, 20 Mar 2003 13:08:34 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: "Bourbina, Tyson Derrik (UMR-Student)" cc: cygwin AT cygwin DOT com Subject: Re: fsplit problems In-Reply-To: <35B8493A746C1A4896CE671D03E25BC54A08DA@umr-mail8.umr.edu> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Thu, 20 Mar 2003, Bourbina, Tyson Derrik (UMR-Student) wrote: > I was trying to use the same fsplit executable that I use under Redhat > Linux, but with Cygwin, it gives this error: > > ./fsplit: 1: syntax error: "(" unexpected > > after typing: > > ./fsplit > > at the prompt (i.e. there was no "(" typed). It also gives the same > error when I try using the fsplit executable to split a file. Your help > would be appreciated. > > Regards, > Tyson Bourbina Tyson, You haven't really given much information to go on here, but I can make a few guesses: 1) Cygwin is not binary-compatible with Linux, so I'm assuming fsplit is not a binary, but rather a shell script. 2) On Linux, /bin/sh is usually bash. Not so on Cygwin (/bin/sh is ash). The script could be bash-specific. Try changing the first line of fsplit from '#!/bin/sh' to '#!/bin/bash' and see if it helps. Igor -- http://cs.nyu.edu/~pechtcha/ |\ _,,,---,,_ pechtcha AT cs DOT nyu DOT edu ZZZzz /,`.-'`' -. ;-;;,_ igor AT watson DOT ibm DOT com |,4- ) )-,_. ,\ ( `'-' Igor Pechtchanski '---''(_/--' `-'\_) fL a.k.a JaguaR-R-R-r-r-r-.-.-. Meow! Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk! -- /usr/games/fortune -- 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/