Re: [dev] [question] Does bash suck?

2016-04-24 Thread Staven
On Sat, Apr 23, 2016 at 03:38:54PM +0200, Kamil Cholewiński wrote: > I don't like rc since there are two incompatible implementations, one is > the real thing and the other is actually usable for interactive use. rc is perfectly allright for interactive use, as long as you run it in a Plan9-compa

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Marc Collin
Thanks for the comparison table, that reveals a lot. On Sat, Apr 23, 2016 at 8:49 PM, wrote: > On 2016-04-23 14:19, Teodoro Santoni wrote: >> >> Hi, >> >> 2016-04-23 15:03 GMT+02:00, Marc Collin : >>> >>> Hi. >>> Recently a user from suckless told me that bash sucks, but before I >>> could ask

Re: [dev] [question] Does bash suck?

2016-04-23 Thread rain1
On 2016-04-23 14:19, Teodoro Santoni wrote: Hi, 2016-04-23 15:03 GMT+02:00, Marc Collin : Hi. Recently a user from suckless told me that bash sucks, but before I could ask why he went offline. I tried looking at suckless.org page about software that sucks, but couldn't find anything about bash.

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Greg Reagle
On 04/23/2016 01:53 PM, Kamil Cholewiński wrote: Make that two, quoting the man page: The list flattening operator, $^foo, is spelt $"foo in those versions of the Bell Labs rc which have it. No, rakitzis's rc accepts both syntaxes. That's why I didn't submit an issue for it. All other in

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Kamil Cholewiński
On Sat, 23 Apr 2016, Greg Reagle wrote: > [...] it is incompatible with Plan 9 rc, unfortunately, and the author > is not interested in changing it to be compatible [4]. The difference > is just one item of syntax, but it's enough to be a major > incompatibility. Make that two, quoting the man pa

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Lee Fallat
On Sat, Apr 23, 2016 at 1:09 PM, Greg Reagle wrote: > On 04/23/2016 09:38 AM, Kamil Cholewiński wrote: >> >> I don't like rc since there are two incompatible implementations, one is >> the real thing and the other is actually usable for interactive use. > > > I like Plan 9's rc a lot, for scriptin

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Greg Reagle
On 04/23/2016 09:38 AM, Kamil Cholewiński wrote: I don't like rc since there are two incompatible implementations, one is the real thing and the other is actually usable for interactive use. I like Plan 9's rc a lot, for scripting. I don't think it sucks at all. I think it is good and more e

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Kamil Cholewiński
On Sat, 23 Apr 2016, Marc Collin wrote: >> OpenBSD's ksh is excellent, but not sure if it was ever ported anywhere > It was, and it's called loksh. stali recommends it. > https://github.com/dimkr/loksh Yep, just saw it mentioned in the thread. I'm surprised this exists and is actually recommended

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Marc Collin
> OpenBSD's ksh is excellent, but not sure if it was ever ported anywhere It was, and it's called loksh. stali recommends it. https://github.com/dimkr/loksh Maybe there could be a flag option to disable horizontal scrolling? On Sat, Apr 23, 2016 at 10:38 AM, Kamil Cholewiński wrote: > On Sat, 2

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Kamil Cholewiński
On Sat, 23 Apr 2016, Marc Collin wrote: > Hi. > Recently a user from suckless told me that bash sucks, but before I > could ask why he went offline. > I tried looking at suckless.org page about software that sucks, but > couldn't find anything about bash. > I can imagine why it sucks - no portabi

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Lee Fallat
On Sat, Apr 23, 2016 at 9:03 AM, Marc Collin wrote: > Hi. > Recently a user from suckless told me that bash sucks, but before I > could ask why he went offline. > I tried looking at suckless.org page about software that sucks, but > couldn't find anything about bash. > I can imagine why it sucks

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Marc Collin
So bash is not portable because of bashisms, bloated and slow? Any of those 3 things could be a set-off, but all 3 at once makes me agree that bash sucks. #!/bin/sh should be good. stali recommends loksh and mksh so I should try those. They're equally good? On Sat, Apr 23, 2016 at 10:13 AM, Matti

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Teodoro Santoni
Hi, 2016-04-23 15:03 GMT+02:00, Marc Collin : > Hi. > Recently a user from suckless told me that bash sucks, but before I > could ask why he went offline. > I tried looking at suckless.org page about software that sucks, but > couldn't find anything about bash. > I can imagine why it sucks - no p

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Pickfire
On Sat, Apr 23, 2016 at 10:03:29AM -0300, Marc Collin wrote: Hi. Recently a user from suckless told me that bash sucks, but before I could ask why he went offline. I tried looking at suckless.org page about software that sucks, but couldn't find anything about bash. I can imagine why it sucks -

Re: [dev] [question] Does bash suck?

2016-04-23 Thread Mattias Andrée
On Sat, 23 Apr 2016 10:03:29 -0300 Marc Collin wrote: > Hi. > Recently a user from suckless told me that bash sucks, > but before I could ask why he went offline. > I tried looking at suckless.org page about software that > sucks, but couldn't find anything about bash. > I can imagine why it suck

[dev] [question] Does bash suck?

2016-04-23 Thread Marc Collin
Hi. Recently a user from suckless told me that bash sucks, but before I could ask why he went offline. I tried looking at suckless.org page about software that sucks, but couldn't find anything about bash. I can imagine why it sucks - no portability! #/bin/sh should be enough for everyone. Is that