[ / / / / / / / / ] [ b / news+ / boards ] [ operate / meta ] [ ]

/gentoo/ - Technology

Install gentoo.

Catalog

Name
Email
Subject
Comment *
File
* = required field[▶ Show post options & limits]
Confused? See the FAQ.
Options
Password (For file and post deletion.)

Allowed file types: jpg, jpeg, gif, png, webm, mp4
Max filesize is 8 MB.
Max image dimensions are 10000 x 10000.
You may upload 2 per post.


File: 1427726943557.gif (245.8 KB, 500x281, 500:281, Seizurecaxx.gif)

 No.677

What was /gentoo/'s first shell? Do you still use it?

bashfag here. It's been years, and I still haven't given any alternatives a serious try.

Also, shells general.

 No.678

My first shell was bash like yourself then I switched to openbsd shell and 9front rc shell. I cant go back.

 No.679

>>677
I started with bash and now I use zsh, although I really don't know why given that it's even more awkward, autocomplete aside. I should really move to something that ditches the sh baggage, the one written in Go looks interesting.

 No.680

If you want to talk about yourself, gb2/tech/

 No.695

>everybody started with bash

I'm kind of surprised, I thought /gentoo/ would have at least a few DOS refugees.

 No.697

Something tells me it would be interesting to write a shell, at least conceptually. Boring job control aside, trying to trim down bash's insanity would be pretty fun?

 No.699

>>697
>trmming down bash
You would be better off writing your own shell from scratch

 No.700

File: 1428095185981.jpg (34.24 KB, 500x453, 500:453, tmp_12625-1424340278111-11….jpg)

>>680
Fuck off faggot

 No.701

>>697
>Something tells me it would be interesting to write a shell, at least conceptually

From what I've seen of shells' source code, they actually look extremely tedious - a lot of it is just job control, handling signals, and data structures.

I would think the majority (possibly all) of the fun is in designing the syntax and adding frills (for example, how fish reads man pages for you).

 No.702

>>701
Sounds about right. It's something that is just asking to be overengineered.

 No.715

Hmm, >>697
>trying to trim down bash's insanity would be pretty fun?

You should try fish. It's shell scripting language is pretty sweet.


function rand_command
whatis (for i in $PATH
ls $i
end | cat | shuf -n 1)
end

echo (rand_command)


The indentation I did feels kinda weird, but you get the syntax.

 No.716

File: 1428342928029.jpg (143.87 KB, 448x576, 7:9, 1332935604758.jpg)

>>715
And I just realized the cat command is completely useless here.

 No.717

>>715
>You should try fish.
Not him, but I found fish to be a little too friendly.

Especially, but not limited to:
>It corrects bash-isms
In other words, the developers felt that it would be a good idea to parse not only fish syntax, but also bash syntax for the sole purpose of correcting you.
>Web-based configuration
>Opening its documentation in a web browser
Which is just awesome when I want to look up something quickly on my years-old box, or if I'm in text-only mode



Delete Post [ ]
[]
[Return][Go to top][Catalog]
[ / / / / / / / / ] [ b / news+ / boards ] [ operate / meta ] [ ]