delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/12/05/05:31:24

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
X-Authentication-Warning: smtp3.cern.ch: Host pb-d-128-141-36-121.cern.ch [128.141.36.121] claimed to be lxcms60.cern.ch
Message-ID: <3DEF2AEC.30709@cern.ch>
Date: Thu, 05 Dec 2002 11:31:08 +0100
From: "Lassi A. Tuura" <lassi DOT tuura AT cern DOT ch>
Organization: Northeastern University, Boston, USA
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.9) Gecko/20020513
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: James Shaw <qumqam AT yahoo DOT com>
Cc: cygwin AT cygwin DOT com
Subject: Re: Bash puzzle: Spaces, environment variables and tab completion
References: <20021205060104 DOT 39630 DOT qmail AT web13602 DOT mail DOT yahoo DOT com>

You might want to try with zsh, it's more flexible and convenient to use
than bash.  I haven't used it on Windows, but here's a linux example:
  $ mkdir -p '/tmp/foo/a bar'
  $ F='/tmp/foo/a bar'
  $ ls -ld $F
  drwxr-xr-x    2 lat      zh           4096 Dec  5 11:26 /tmp/foo/a bar
  $ touch $F/xyz
  $ ls -laF $F
  total 8
  drwxr-xr-x    2 lat      zh           4096 Dec  5 11:26 ./
  drwxr-xr-x    3 lat      zh           4096 Dec  5 11:26 ../
  -rw-r--r--    1 lat      zh              0 Dec  5 11:26 xyz

It has gadzillion options to set, so how it works might be function of
what I have set as my zsh environment, but it should be possible.

//lat
-- 
Real programmers disdain structured programming.  Structured
programming is for compulsive, prematurely toilet-trained
neurotics who wear neckties and carefully line up sharpened
pencils on an otherwise uncluttered desk.


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