Re: [dev] List of tools for a CLI environment

From: Bjartur Thorlacius <svartman95_AT_gmail.com>
Date: Thu, 27 Oct 2011 09:05:32 +0000

On 10/27/11, Jimmy Tang <jtang_AT_tchpc.tcd.ie> wrote:
>
> On 26 Oct 2011, at 17:12, Kurt H Maier wrote:
>
>> On Wed, Oct 26, 2011 at 11:34 AM, Jimmy Tang <jtang_AT_tchpc.tcd.ie> wrote:
>>> just showed this to a friend of mine and he cooked this up
>>>
>>> ls ${PATH//:/ }
>>
>> shit only works in bash
>>
>
> oddly it worked in mksh which is the main shell that i tend to use. but yea,
> it is a bit of a bashism type thing there. in relation to spaces in a
> directory name, well that just sucks doesn't it ;)
>
Directory names are a sequence of arbitrary nonzero bytes. Parsing a
concatenation of arbitrary strings sucks. Directories can only be
separated by zero bytes.
Received on Thu Oct 27 2011 - 11:05:32 CEST

This archive was generated by hypermail 2.3.0 : Thu Oct 27 2011 - 11:12:03 CEST