delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/20/13:37:59

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
Subject: Re: Re: fsplit problems
From: "Timothy C Prince" <tprince AT myrealbox DOT com>
To: tyson AT umr DOT edu
CC: cygwin AT cygwin DOT com
Date: Thu, 20 Mar 2003 18:37:34 +0000
X-Sender: tprince
MIME-Version: 1.0
Message-ID: <1048185454.c2f53880tprince@myrealbox.com>
X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id h2KIbxm32637

fsplit can easily be built under cygwin from source.  If there's any interest, I could sign on as maintainer.


-----Original Message-----
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.

Tyson

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
>>
>> 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/



Tim Prince

--
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