Re: tcsh's exit codes

2012-06-23 Thread Johan van Selst
rank1see...@gmail.com wrote: > There is something wrong with tcsh shell: > > # mergemaster -V | grep '\--run-updates' > Returned exit code 1 > # mergemaster -V | grep -q '\--run-updates' > Returned exit code 141 I believe this has been a feature of csh and tcsh since the dark ages. Negati

Re: [GSoC] About the idea: Unicode support in vi

2011-03-25 Thread Johan van Selst
Zhihao Yuan wrote: > > Could you please eleborate on the nvi-devel problems? I'm the current > > maintainer of this port, and as far as I know it's fully functional. > 1. It does not support non-Unicode encodings. Actually, these > encodings are mainstream in multi-byte encodings world. A proper >

Re: [GSoC] About the idea: Unicode support in vi

2011-03-24 Thread Johan van Selst
Zhihao Yuan wrote: > 2. nvi does not use iconv, nvi-m17n only supports limited non-Unicode > mbyte encodings, nvi-devel has too many problems. So we don't have a > nvi which comes with fully mbyte enconding support; Could you please eleborate on the nvi-devel problems? I'm the current maintainer o

Re: Problem in bin/sh stripping the * character through ${expansion%}

2009-08-06 Thread Johan van Selst
Johan van Selst wrote: > When I tried it myself, I automatically typed quotes, which does work > var="${var%\*}" Really should learn to read better: this in fact procudes 'foo' rather than 'foo\' in the given example case. Again, not like bash. Johan

Re: Problem in bin/sh stripping the * character through ${expansion%}

2009-08-06 Thread Johan van Selst
Doug Barton wrote: > I came across this problem during a recent portmaster update. When > trying to strip off the * character using variable expansion in bin/sh > it doesn't work. Other "special" characters do work if they are > properly escaped. Your script does var=${var%\*} When I trie

Re: small usr.bin/find patch

2009-06-24 Thread Johan van Selst
Alexander Best wrote: > hmmm...but dd e.g. uses lowercase instead of upercase letters to indicate > kilobyte, megabyte and so on. isn't there some unix/posix/whatever standard > telling app developers what to use? It might be appropriate to use expand_number() here. This is what some other tools d

Re: does Copyright on source files expire ?

2009-03-25 Thread Johan van Selst
Luigi Rizzo wrote: > I said yes, but then I was wondering what happens if the > person listed is not responding or not reachable anymore: > does copyright on source code expire, and if so, when ? Yes, copyright expires. When it expires exactly depends on local legislation. Generally this is a numb

Re: tcsh fix

2004-11-13 Thread Johan van Selst
Kevin Lyons wrote: > Presumably pure csh is the last stable release of csh before tcsh came > along. Openbsd, netbsd, sun and sgi all seem to have been able to > settle on a csh. If you really want csh, please install ports:shells/44bsd-csh/ And if you just want to troll, please stop. Thank you