Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

I HATE BASH

Name: Anonymous 2012-11-01 10:18

It's so shit. Shittier than PHP by at least 10 orders of magnitude.

Link related, it's the nigger who wrote it:
http://en.wikipedia.org/wiki/Brian_Fox_(computer_programmer)

Name: I HATE BBCODE 2012-11-01 10:19

Name: Anonymous 2012-11-01 10:29

He doesn't seem like a trustworthy person.

Name: Anonymous 2012-11-01 10:30

Bash is shit, but nothing is as shitty as the Windows shell commands.

Name: Anonymous 2012-11-01 10:32

>>4
at least cmd is better than powershell

Name: Anonymous 2012-11-01 10:32

Bash is FIOC


if [ expr ] ; then


see

Name: Anonymous 2012-11-01 10:36

Never trust a nigger to design shit, especially american niggers; they have no taste.

Name: Anonymous 2012-11-01 12:13

At least it's better than korn shell or fucking csh.

Name: Anonymous 2012-11-01 13:05

>>1
What a fucking disgusting furry nigger, no wonder the language is so shitty
He could as well call himself BearWolf Fox instead

Name: Anonymous 2012-11-01 15:31

ZSH IS FOR FAGGOTS

Name: mawk 2012-11-01 15:47

Was that I read? Some complaining about dynamic scope, and messy scheme of regular expressions?

At the least I hear that the have protections against:
:(){ :|: & };:

Name: Anonymous 2012-11-01 15:51

>>11
English, motherfucker, do you speak it?

Name: Anonymous 2012-11-01 16:10

>>8

ksh is amazing.

My face when I hear Linux users complain that it takes them over a second to get a prompt when they open an xterm.

Name: Anonymous 2012-11-01 16:11

>>11
how's scsh portability?  speed?  usability?  I'd like something better than bash...

Name: Anonymous 2012-11-01 16:12

just use perl

Name: Anonymous 2012-11-01 16:15

>>13
My face when
Stop. Please.

Name: Anonymous 2012-11-01 16:20

>>13
Back to le imagereddits, please.

Name: Anonymous 2012-11-01 17:07

i really want to learn bash. and VBS. and ruby.

Name: Anonymous 2012-11-01 17:10

I bet all the zsh hipsters would switch to bash is they knew it was written by a black guy.

Check your white programmer privilege /prog/.

Name: Anonymous 2012-11-01 18:16

>>19
Only Ahmed and Benito would, but they're using Windows XP anyway.

Name: Anonymous 2012-11-01 18:32

>>19
ksh is the hipster one. And I doubt they'd switch, because being GNUterd is worse than being accused of racism.

zsh is the shell that everyone criticizes in public for being too big (even though it's smaller than bash), but then secretly uses because it's vastly superior.

Name: Anonymous 2012-11-01 18:34

I hate dubs

Name: Anonymous 2012-11-01 18:35

>>21
Is it as idiosyncratic as sh/bash?  Is there a shell somewhere that doesn't have ass-backward syntax and extremely limited support for arrays and more complex data structures?  I'd like to use scsh, but I'm not sure how good it is.

Name: Anonymous 2012-11-01 18:41

>>23
just use perl or fioc

Name: Anonymous 2012-11-01 18:57

Is it as idiosyncratic as sh/bash?
Unfortunately, yes. It's syntax is based on Bourne shell syntax.

Is there a shell somewhere that doesn't have ass-backward syntax and extremely limited support for arrays and more complex data structures?
https://github.com/frytvm/XS

Name: Anonymous 2012-11-01 19:27

I feel like I'm the only person who uses the public domain Bourne shell, and whenever I tell people they always ask, ``Why not just use bash?''

Name: Anonymous 2012-11-01 20:47

Name: Anonymous 2012-11-01 23:20

abs() { echo ${@/-/}; }

$ abs 1 -1 0
1 1 0

Name: Anonymous 2012-11-01 23:57

>>13,21
The nice thing about ksh is that it knows when to stop.

The entire concept of "expansion" is the worst thing about shell languages. bash and zsh address this problem by... adding more types of expansion. That's some wonderful thinking right there.

ksh says, let's keep only the ugly stuff that Bourne compatibility requires us to have, and add new control constructs to so we can use as little of said ugly stuff as possible.  It's the only new shell language that has the decency to admit its limitations, and that's why I like it.

Name: Anonymous 2012-11-02 1:10

nice neckbeard

Name: Anonymous 2012-11-02 4:57

>>27
Results 1-10 of 37 for scsh

Name: Anonymous 2012-11-02 4:59

>>1
At the FSF, Fox authored GNU Bash, GNU Makeinfo, GNU Info, GNU Finger, and the readline and history libraries.
Somewhere deep inside I always knew all these abominations had to be the handiwork of a single individual.

Name: Anonymous 2012-11-02 5:03

>>12
In Latina narrareo. Anglum.

>>14,23
Stick with AWK and KSH93. You really do not need anything else. And scsh is still beta. There are lots of POSIX stuff still needed to be added. You can help although. And personally, I stick with low level stuff as much as possible, for every byte of redundancy.

Name: Anonymous 2012-11-02 5:12

Name: Anonymous 2012-11-02 6:05

>>29

Indeed.  ksh realises that a shell is just a shell, and doesn't need to include a TCP library and all sorts of bullshit.

>>33

This!  Rather than using a shitty bloated shell with half-assed programming features tacked on, just use a nice simple programming language that works and a nice simple shell that works.

awk

You guys will like this: some guy wrote a minimal LISP interpretor in awk!

http://www.cs.cmu.edu/afs/cs/project/ai-repository/ai/lang/lisp/impl/awk/


$ awk -f walk walk.w numbers.w p -
-> (set 'ura '(lambda (x) (list 'you 'are 'a x)))
(lambda (x) (list (quote you) (quote are) (quote a) x))
-> (ura 'fag)
(you are a fag)
-> (ura '"good person")
(you are a good person)
->
-> (set 'kvprepend '(lambda (key val l) (cons (list key val) l)))
(lambda (key val l) (cons (list key val) l))
-> (set 'kvsearch '(lambda (key l) (cond
3>   ((eq key (caar l)) (cadar l))
3>   ((cdr l) (kvsearch key (cdr l)))
3> )))
(lambda (key l) (cond ((eq key (caar l)) (cadar l)) ((cdr l) (kvsearch key (cdr l)))))
-> (set 'kv (kvprepend 1 'one (kvprepend 2 'two (kvprepend 3 'three (kvprepend 4 'four () )))))
((1 one) (2 two) (3 three) (4 four))
-> (kvsearch 2 kv)
two
-> (kvsearch 5 kv)
()
-> (kvprepend 'lol 'wut kv)
((lol wut) (1 one) (2 two) (3 three) (4 four))
-> (kvsearch 'lol (kvprepend 'lol 'wut kv))
wut
-> ^d110 atoms, 1457 list cells.


This is the coolest thing ever!

Name: Anonymous 2012-11-02 7:11

>>35
nice

Name: Anonymous 2012-11-02 11:27

>>35
Someone once implemented a Lisp interpreter in brainfuck.

Name: Anonymous 2012-11-02 11:50

Guys, just use rc like all expert programmers do.

Name: Anonymous 2012-11-02 11:52

The problem is we sometimes have to deal with BASH no matter what.

Name: Anonymous 2012-11-02 13:09

>>37
https://code.google.com/p/zozotez/ ?
Not a very good Lisp interpreter, and not actually written in brainfuck. It's written in something called ``EBF'', and then compiled to brainfuck.

>>38
Or es or xs if you're stuck in the real world.

>>39
The only time I've ever had to deal with bash is stupid GNU configure scripts that have #!/bin/sh at the top and then use obvious bashisms, which break on any operating system that isn't batshit insane.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List