Re: how to search for commands

2015-02-24 Thread Hans J Albertsson
Help in bash seems to do most of what's actually needed. Hans J. Albertsson >From my Nexus 5 Den 24 feb 2015 11:48 skrev "Hans J Albertsson" : > Powershell is a very good cmd language, so bash and other unix shells > might do well to adopt some ideas from there. > >

Re: how to search for commands

2015-02-24 Thread Hans J Albertsson
than lexical completion, I think. Hans J. Albertsson >From my Nexus 5 Den 24 feb 2015 06:11 skrev "Dan Douglas" : > On Mon, Feb 23, 2015 at 10:50 PM, wrote: > > How do you search for commands? In powershell you have the get-command > cmdlet. Is there anything equivalen

Re: Does [ -f FILE ] have a bug on testing a symlink ?

2015-02-10 Thread Hans J Albertsson
The current behaviour is according to the intended functionality of symlinks when they first appeared, i e to create first-rank local references across få boundaries. cf hard links. Hans J. Albertsson >From my Nexus 5 Den 10 feb 2015 10:04 skrev "Jonathan Hankins" : > $ touch f

Re: Bug/limitation in 'time'

2013-03-17 Thread Hans J. Albertsson
This version is actually slightly faster... And the sys time goes down very close to zero. Now, what were you actually looking to test?? My version might be utterly irrelevant. function BashCount() { i=$1 while (( i-- )) ; do true done echo Just

brace expansion in non-C locales

2013-03-13 Thread Hans J. Albertsson
I fully expected the brace expression {Z..Ö} to epand to Z Å Ä Ö in the sv_SE.ISO8859-1 locale. Why is brace expressions limited to C locale behaviour? What can I do to change that?