LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Closed Thread
  Search this Thread
Old 08-02-2009, 06:18 PM   #16
Johnnie J
Member
 
Registered: Mar 2008
Posts: 54

Rep: Reputation: 16

ksh seems to be able to much, maybe all, of what you want

http://www.kornshell.com/doc/ksh93.html
 
Old 08-02-2009, 06:20 PM   #17
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
It's not blind loyalty - I have no loyalty as far as any piece of software is concerned. Bash has done what I wanted it to do, and what it was designed to do.
 
Old 08-02-2009, 06:20 PM   #18
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 816

Original Poster
Rep: Reputation: 69
Unhappy

Quote:
Originally Posted by Tinkster View Post
Get over it. Stop telling everyone else they have bad taste in toys.
Gee Whiz. I'm only calling for a better standard in toys.
 
1 members found this post helpful.
Old 08-02-2009, 06:23 PM   #19
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 816

Original Poster
Rep: Reputation: 69
Quote:
Originally Posted by Johnnie J View Post
ksh seems to be able to much, maybe all, of what you want

http://www.kornshell.com/doc/ksh93.html
Thanks, Johnnie. I'll take a look at the Korn shell.
 
Old 08-02-2009, 06:54 PM   #20
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Quote:
Originally Posted by Completely Clueless View Post
Gee Whiz.
I'm only calling for a better standard in toys.
No, you're not. You asking for my lego building blocks to
be remodeled into some of those aircraft or other lumps that
limit my creativity by having everything ready-made, and
that have less generic usability, or come at the cost of
size and performance hits :}



Cheers,
Tink
 
Old 08-02-2009, 10:23 PM   #21
pixellany
LQ Veteran
 
Registered: Nov 2005
Location: Annapolis, MD
Distribution: Arch/XFCE
Posts: 17,802

Rep: Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738Reputation: 738
This thread is nuts.....

BASH is just one one of a bazillion tools available on a typical Linux system. Don't like it?---don't use it. If you have serious suggestions for changing it, contact the authors.

I imagine that shells---like any other SW--evolve to meet specific needs. As someone already pointed out, a big part of the evolution of BASH was about system startup and configuration. That did not require floating point math. Further---in the true Unix modular paradigm---there is no need to add FP--there are other utilities available.
 
Old 08-03-2009, 12:28 AM   #22
sundialsvcs
LQ Guru
 
Registered: Feb 2004
Location: SE Tennessee, USA
Distribution: Gentoo, LFS
Posts: 8,330
Blog Entries: 4

Rep: Reputation: 2843Reputation: 2843Reputation: 2843Reputation: 2843Reputation: 2843Reputation: 2843Reputation: 2843Reputation: 2843Reputation: 2843Reputation: 2843Reputation: 2843
*Hic!* I'll have what he's having... *Hic!*

Nothin' like a lonesome Sunday night to turn the entire crowd into philosophers and pundits . . .
 
Old 08-03-2009, 03:55 AM   #23
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
Hello

The *n*x shells and their programming facilities originated when people were using teletypes to interface with computers and so were optimised for that environment. Teletypes were slow, some hundreds of bps, so the shells emphasise brevity over legibility.

They are command shells meaning they are primarily to help the user run commands. Their programming facilities are primarily to help the user automate running commands. Hence they are not designed to be complete languages in themselves but optimised to use *n*x commands such as bc, cat, sed, grep ... . The pipeline and "command substitution" are a powerful features in this regard.

Happily the shell designers were very smart cookies with the result that shellscript became a very flexible and powerful tool, capable of much more than its original design objectives. Hence they are still in wide use, 40 years after they started.

Not surprising, then, that shellscript does not compare well as an all-purpose general programming laguage such as C, or as a mathematical language such as FORTRAN, or as a GUI language etc.

It's "horses for courses"; Dobbin the Shire horse does not go well over the fences and Red Rum is a lousy ploughing horse.

Best

Charles

Last edited by catkin; 08-03-2009 at 03:57 AM. Reason: Added "command substitution"
 
Old 08-03-2009, 06:06 AM   #24
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Duh. It's too obvious why shells were created... unless

Btw, bash now in its new version 4.0 appears to be more powerful than ksh but still has some bugs or limitations related to coprocess.

Also comparing bash, ksh and zsh, zsh seems to be the most powerful and is very compatible with module oriented shell scripting.

Just my opinion.
 
Old 08-03-2009, 07:00 AM   #25
Completely Clueless
Member
 
Registered: Mar 2008
Location: Marbella, Spain
Distribution: Many and various...
Posts: 816

Original Poster
Rep: Reputation: 69
Ok, fair enough. I can see in the context of its origin and evolution, I've been a bit unduly harsh on Bash. Sorry, guys. :-)
 
Old 08-03-2009, 07:04 AM   #26
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,453
Blog Entries: 55

Rep: Reputation: Disabled
Quote:
Originally Posted by Completely Clueless View Post
Sorry, guys. :-)
We'll forgive you...but don't do it again.
 
Old 08-03-2009, 11:13 AM   #27
alan_ri
Senior Member
 
Registered: Dec 2007
Location: Croatia
Distribution: Debian GNU/Linux
Posts: 1,733
Blog Entries: 5

Rep: Reputation: 127Reputation: 127
OP, you don't know shit about Bash.
 
Old 08-03-2009, 11:23 AM   #28
joeBuffer
Member
 
Registered: Jul 2009
Distribution: Ubuntu 9.04
Posts: 328

Rep: Reputation: 42
I think CompletelyClueless just wants someone to respond to him.
Not to mention, if you think something is a kludge, write a better one.

Last edited by joeBuffer; 08-03-2009 at 11:25 AM.
 
Old 08-04-2009, 02:48 AM   #29
konsolebox
Senior Member
 
Registered: Oct 2005
Distribution: Gentoo, Slackware, LFS
Posts: 2,248
Blog Entries: 8

Rep: Reputation: 235Reputation: 235Reputation: 235
Quote:
Originally Posted by joeBuffer View Post
I think CompletelyClueless just wants someone to respond to him.
Can't tell but regardless, this thread he started seemed fun. It's funny if you don't look at it seriously. ^^,
 
Old 08-04-2009, 03:40 AM   #30
vikas027
Senior Member
 
Registered: May 2007
Location: Sydney
Distribution: RHEL, CentOS, Ubuntu, Debian, OS X
Posts: 1,300

Rep: Reputation: 102Reputation: 102
Your login name is appropriate... CompletelyClueless.

Request you to get some clues and then google it. I have around 3 years of experience in shell scripting, did not find any harm in it.
 
  


Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
This is crap ... orange400 SUSE / openSUSE 2 01-02-2005 04:14 PM
OH CRAP!!! (/me needs help) Sticktendo Linux - Newbie 5 01-01-2005 04:41 PM
Ah Crap...come on now!!! GmAz Mandriva 7 11-14-2004 11:30 AM
Linspire = Crap, Netzero also = Crap rm6990 General 16 09-20-2004 02:35 AM
Uh.....crap toolshed Linux - General 1 08-18-2001 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:15 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration