Re: Backtick versus $()

2011-02-24 Thread Thorsten Glaser
Andres Perera zoho.com> writes: > > Nowadays all shells supports $() so I advise you to use it :). > > no, not all shells support $() They do, it’s mandated by POSIX. There’s no reason to support the accidentally non-combining accent gravis (so-called “backtick”¹) any more, unless you specifica

Re: variable line-display pager?

2011-02-24 Thread Thorsten Glaser
Gary Kline thought.org> writes: > For instance, say that my xterm/console/"Konsole" is 80x53 lines. > My text file is around 200 lines long and I want to use more or less > or some GUI pager to display only 15 lines at one time. Tapping the > space bar would display another 15 lines and so on u

Re: Backtick versus $()

2011-02-24 Thread Thorsten Glaser
Andres Perera zoho.com> writes: > "mandated by posix" and reality usually aren't in sync, as i'm sure you know by In this case, closely enough. > now since you pointed out solaris It’s just /bin/sh on long outdated versions (newer ones, both from Horracle and not, have AT&T ksh93 there instea

Re: Backtick versus $()

2011-02-24 Thread Thorsten Glaser
Rob Farmer predatorlabs.net> writes: > Have you used the default FreeBSD shell (tcsh) recently? tcsh is not a shell. Well, it’s an interactive command line interpreter, not a bad one compared to what else is offered at that, but… http://www.faqs.org/faqs/unix-faq/shell/csh-whynot/ bye, //mirab

Re: Backtick versus $()

2011-02-24 Thread Thorsten Glaser
Rob Farmer dixit: >(New) people will still copy and paste commands into an interactive >tcsh That’s a FreeBSD® specific issue though. Other operating systems did the sensible thing ages ago ☺ Even then, I tend to disagree here. There’s the common use of ‘% ’ and ‘$ ’ (and ‘# ’ but we use sudo(8)

Re: Backtick versus $()

2011-02-24 Thread Thorsten Glaser
Chad Perrin apotheon.com> writes: > > That’s a FreeBSD® specific issue though. Other operating systems > > did the sensible thing ages ago ☺ > > What exactly is "the sensible thing"? http://cvsweb.netbsd.org/bsdweb.cgi/src/usr.sbin/user/ user.c.diff?r1=1.116&r2=1.117&only_with_tag=MAIN http://

Re: Backtick versus $()

2011-02-24 Thread Thorsten Glaser
Chad Perrin apotheon.com> writes: > 1. You think some measure of popularity of a decision makes it correct. No. > 2. You don't like (t)csh. No. I just point out it’s not a suitable scripting shell. > 3. You think your opinions are so self-evident that everybody will just > immediately underst

Re: Backtick versus $()

2011-03-03 Thread Thorsten Glaser
Rob Farmer predatorlabs.net> writes: > LOL - how hypocritical. This thread was four days dead then suddenly > two people show up and start pushing this mksh shell, which seems to Sorry for reviving again, but I only show up as I have an “alert” set to mksh to know when it’s being discussed alrea