delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2010/01/14/17:32:42

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-2.3 required=5.0 tests=AWL,BAYES_00,SPF_PASS
X-Spam-Check-By: sourceware.org
X-Authority-Analysis: v=1.0 c=1 a=T1bcfoVAyVzACZdgVqYA:9 a=p0walPLC33TPT-H03YsA:7 a=BGA6oH2a5XZptUK-vh6lhotbF4gA:4
Message-ID: <4B4F9B8C.9060808@columbus.rr.com>
Date: Thu, 14 Jan 2010 17:32:44 -0500
From: Paul McFerrin <pmcferrin AT columbus DOT rr DOT com>
Reply-To: pmcferrin AT columbus DOT rr DOT com
User-Agent: Thunderbird 2.0.0.23 (Windows/20090812)
MIME-Version: 1.0
To: Cygwin <cygwin AT cygwin DOT com>
Subject: Re: Missing documentation on bash
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Folks: 

I'm still having problems getting these .bat files to work under MS 
scheduler.  Okay, I have swore off .bat files and have installed 
"cron".  No more interactions between MS-DOS and Cygwin scripting.  
These scripts are totally cygwin scripting.  I'm a happy camper!!

As far as trying "bash".  I didn't.

| Folks:
|
|  I can't seemed to find any man pages for bash or other |  |  |  
documentation. I'm having terriable problems is getting my |   .bat/.sh 
script working and I'm thinking changing shells. I |  normally use the 
same routine for all .bat scripts.
| 

|     =====backup_e.bat======
|  echo off
|  set ENV="/dev/null"
|  set PATH=C:\cygwinV\bin;%PATH%
|  SET IS_CYGWIN=true
|  set HISTSIZE=1200
|  set HOME="/dev/null"
|  set CYGWIN=tty
|  ksh -c echo off
|  set ENV="/dev/null"
|  set PATH=C:\cygwinV\bin;%PATH%
|  SET IS_CYGWIN=true
|  set HISTSIZE=1200
|  set HOME="/dev/null"
|  set CYGWIN=tty
|  ksh -c "C:/cygwinV/backup_e"

| 
|  were the bulk of cygwin's work in done by backup_e
|  until I officially cut over to 1.7. Now only the backup for |  "e" is 
working. Every other batch script is now fainling.
| 
|  In one batch script, I had to replace a link I used ksh. It |  is 
working now. In another case, I got permission denied with|   the target 
of ksh and mode 766.

 |  I'm still playing with this one. If I can only get back to a |   
template that works, I'll be happy.

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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