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

Pages: 1-

¯\(°_o)/¯

Name: ¯\(ツ)/¯ 2012-09-12 1:38


while read time
do
  if [[ $(grep -r ";_;" ~/*) == "" ]]
  then
    like=0
  fi
done < <(cat this)
if [[ $like != "0" ]]
then like(this)
fi

Name: Anonymous 2012-09-12 3:51

Why are unix shell syntaxes such utter shit?

Name: Anonymous 2012-09-12 5:39

I think the open source nature has something to do with that.  Lots of different contributers add different utilities, each with their own idea of what the syntax should look like.

It feels like it's what you'd get if you took 1 person for each language there is, stuck them all on an island, then had to decipher what they were saying after 5 years.

Name: Anonymous 2012-09-12 6:01

>>2
unix
that answers your question.

Name: Anonymous 2012-09-12 7:04

>>2
What's the best looking shell syntax?

sh is mediocre for programming, but excellent for interactive use. You deal with programs and files and glue them together. When control flow becomes even slightly complicated, you should reconsider whether to use another language or not.

>>3
Bourne shell was made by one person, with feedback from the UNIX creators, way before open source.

>>4
Exactly, UNIX is very pragmatic.

Name: Anonymous 2012-09-12 9:15

>>2
Pick your favorite, and deal with it:
http://en.wikipedia.org/wiki/Comparison_of_computer_shells

I hear ksh and rc are pretty good.

Still, you can make your own. Lisp is a good start.

Name: Anonymous 2012-09-12 9:27

@ECHO OFF
COMMAND.COM THE SYNTAX OF CHAMPIONS

Name: Anonymous 2012-09-12 9:31

The fact is that I hate both BASH and DOS equally, each for different reasons.

Name: sysadmin digital janitor 2012-09-12 9:55

>>8
That's why we have perl

Name: Anonymous 2012-09-12 11:00

>>5

rc has a pretty good syntax

Name: Anonymous 2012-09-12 11:23

>>6,10
So what's so special about rc? That cat-v.org guy never shuts up about it, and I've conditioned myself to believe the opposite of everything he says.

Name: Anonymous 2012-09-12 11:37

>>11
I never said rc is special, I only said i like the syntax.
I don't give a lisp about what cat-v folks say

Name: Anonymous 2012-09-12 13:48

>>12
I don't give a lisp
Now that's funny.

Name: Anonymous 2012-09-12 14:32

>>6
I wish I knew the first thing about shell development. The thought of having a LISP-like interactive shell literally made me sploodge a little bit.

Name: Anonymous 2012-09-12 16:46

Name: Anonymous 2012-09-12 19:42

>>15
Wow, I am young. I forgot to google this.

Name: Anonymous 2012-09-12 19:43

>>11
and I've conditioned myself to believe the opposite of everything he says.
You mean you've been conditioned to believe the opposite of everything he says. Real CS is being destroyed in favor of having people have Real World™ and Hands-On Experience™. You can thank the global wave of privatization for that.

Also, cat-v.org is run by more than one guy.

Name: man cat -v 2012-09-12 20:30

Display non-printing characters so they are visible. Control
characters print as `^X' for control-X; the delete character
(octal 0177) prints as `^?'. Non-ASCII characters (with the high
bit set) are printed as `M-' (for meta) followed by the character
for the low 7 bits.

Name: Anonymous 2012-09-12 21:21

>>17
( - -)

Anyway, it's no secret cat-v is run by a fanboy (who is surprisingly reasonable in conversation. Impressionable though.)

Name: Anonymous 2012-09-12 21:27

>>19
What he means is that there is more than one person bashing cat-v. Personally I agree with 90~% of the stuff. But 100% of the stuff in suckless.org.

You can tell by the IP address hashes in the database.

Name: Anonymous 2012-09-12 23:46

>>19
( - -)
What the fuck.

Name: Anonymous 2012-09-13 23:30

>>11
Its syntax is very carefully constructed to eliminate the look-behind, repeated expansion madness that makes *sh so gross. It's otherwise uninteresting (like all of Plan 9, really).

Name: Anonymous 2012-09-14 4:19

>>1
like this if you cry every time?

Name: Anonymous 2012-09-14 13:36

>>22
I beg to differ ``friendo''

Name: Anonymous 2012-09-17 9:35

echo -ne "\rIf it"{"'s"," ain't"}" [spoiler]blah[/spoiler], it"{"'s"," ain't"}" crap\n"

Name: Anonymous 2012-09-17 9:36

v 1.1:
echo -ne "\rIf it"{"'s"," ain't"}"blah, it"{"'s"," ain't"}" crap\n"

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