This is the mail archive of the
mailing list for the Cygwin project.
Re: fsplit problems
- From: Tyson Bourbina <tyson at umr dot edu>
- To: cygwin at cygwin dot com
- Date: Thu, 20 Mar 2003 12:15:45 -0600
- Subject: Re: fsplit problems
Thanks, you answered my question. It was a binary file. I thought
Cygwin was binary-compatible with Linux. Thanks for your help.
On Thursday, March 20, 2003, at 12:08 PM, Igor Pechtchanski wrote:
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
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
would be appreciated.
You haven't really given much information to go on here, but I can
1) Cygwin is not binary-compatible with Linux, so I'm assuming fsplit
not a binary, but rather a shell script.
2) On Linux, /bin/sh is usually bash. Not so on Cygwin (/bin/sh is
The script could be bash-specific. Try changing the first line of
from '#!/bin/sh' to '#!/bin/bash' and see if it helps.
|\ _,,,---,,_ 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*
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html