> On Aug 12, 2016, at 2:41 PM, ra...@openmailbox.org wrote:
>
> Hello!
>
> GNU Bash is 138227 lines of code. I wrote a simpler shell* in 800 lines:
> https://notabug.org/rain1/s/
>
> *It is not a true POSIX shell. You can't run existing scripts with it. It's
> technically just a command inte
On 2016-08-13 03:28, hiro wrote:
there already is a suckless shell, called rc. stupid you.
A new shell will have it's own use cases and might be a
perfect fit for certain projects, some cases might not
require shell scripting so the interpreter part is
unneeded.
Raiz
waiting for the day someone of you rewrites all the other stuff in 9base, too.
On Sat, 13 Aug 2016 01:45:48 +0100
wrote:
> On 2016-08-13 01:28, hiro wrote:
> > there already is a suckless shell, called rc. stupid
> > you.
>
> [rc-1.7.4]$ wc *
> 210651 5748 acinclude.m4
?
>1150 5297 41954 aclocal.m4
?
> 25 64397 addon.c
> 3113481
shut up if you know nothing.
cpu% wc -l *.[hc]
483 code.c
993 exec.c
76 exec.h
67 fns.h
233 getflags.c
7 getflags.h
261 glob.c
241 havefork.c
217 haventfork.c
152 here.c
266 io.c
27 io.h
388 lex.c
147 pcmd.c
71 pfnc.c
638 plan9.
On 2016-08-13 01:28, hiro wrote:
there already is a suckless shell, called rc. stupid you.
[rc-1.7.4]$ wc *
210651 5748 acinclude.m4
1150 5297 41954 aclocal.m4
25 64397 addon.c
31134816 addon.h
40352 2206 AUTHORS
558 1887 12048 builtins.c
> On Aug 12, 2016, at 1:13 PM, Mattias Andrée wrote:
>
> On Fri, 12 Aug 2016 22:05:26 +0200
> Martin Kühne wrote:
>
>> On Fri, Aug 12, 2016 at 9:58 PM, Mattias Andrée
>> wrote:
>>> Programming contests can be fun, but it depends on the
>>> competition, some barely have a focus on programming
there already is a suckless shell, called rc. stupid you.
On Fri, 12 Aug 2016 23:51:46 +0100
wrote:
> On 2016-08-12 22:52, Mattias Andrée wrote:
> > Also, the names of shells conventionally end with
> > sh, just do go with ssh (which incidentally is not
> > a shell but ends with “sh” because the full name ends
> > with “shell”.)
> >
> > On Fri, 12 Aug
On 2016-08-12 22:52, Mattias Andrée wrote:
Also, the names of shells conventionally end with
sh, just do go with ssh (which incidentally is not
a shell but ends with “sh” because the full name ends
with “shell”.)
On Fri, 12 Aug 2016 23:48:29 +0200
Mattias Andrée wrote:
Sorry for replying befo
Also, the names of shells conventionally end with
sh, just do go with ssh (which incidentally is not
a shell but ends with “sh” because the full name ends
with “shell”.)
On Fri, 12 Aug 2016 23:48:29 +0200
Mattias Andrée wrote:
> Sorry for replying before reading, but I don't think a
> single-cha
Sorry for replying before reading, but I don't think a
single-character name is a good idea. Two-characters
should also be avoided, but it's acceptable. The number
of available names are severely limited and introduces
an unnecessarily high risk of collision. Short names,
and single-character name
Hello!
GNU Bash is 138227 lines of code. I wrote a simpler shell* in 800 lines:
https://notabug.org/rain1/s/
*It is not a true POSIX shell. You can't run existing scripts with it.
It's technically just a command interpreter.
With that out the way here's an overview of how it works:
Tokeniz
On Fri, 12 Aug 2016 22:05:26 +0200
Martin Kühne wrote:
> On Fri, Aug 12, 2016 at 9:58 PM, Mattias Andrée
> wrote:
> > Programming contests can be fun, but it depends on the
> > competition, some barely have a focus on programming
> > but mathematics instead. I don't see them as promoting
> > bad
On Fri, Aug 12, 2016 at 9:58 PM, Mattias Andrée wrote:
> Programming contests can be fun, but it depends on the
> competition, some barely have a focus on programming
> but mathematics instead. I don't see them as promoting
> bad practices, you are under extraordinary pressure so
> this should not
Programming contests can be fun, but it depends on the
competition, some barely have a focus on programming
but mathematics instead. I don't see them as promoting
bad practices, you are under extraordinary pressure so
this should not influence your programming practices
under normal conditions. I d
Hello suckless.org fellows!
I find myself competing in the national selection for the IOI[0] and
was wondering: what does the suckless.org community think about
competitive programming contests?
They certainly promote bad practices such as namespace pollution,
non-descriptive naming of variables,
Actually, it's no more than what you have called it, hack.
It works only in bash -- due to it's policy of propagating HUP to
childs when main process exits. So dash, etc. are out of question --
even by applying numerous nested dirty hacks.
It makes me sad, being unable to compose clean solution.
18 matches
Mail list logo