Unix/Linux Go Back    


Shell Programming and Scripting BSD, Linux, and UNIX shell scripting — Post awk, bash, csh, ksh, perl, php, python, sed, sh, shell scripts, and other shell scripting languages questions here.

Csh Programming Considered Harmful

Shell Programming and Scripting


Closed    
 
Thread Tools Search this Thread Display Modes
    #1  
Old Unix and Linux 02-06-2011   -   Original Discussion by ilikecows
ilikecows's Unix or Linux Image
ilikecows ilikecows is offline
Registered User
 
Join Date: Jul 2009
Last Activity: 24 December 2011, 7:16 AM EST
Location: /dev/random
Posts: 201
Thanks: 12
Thanked 10 Times in 8 Posts
Csh Programming Considered Harmful

I have noticed a few posts asking questions about c shell scripting these past few days. This a good read for those that currently or are thinking about writing a csh script:

Csh Programming Considered Harmful
The Following 2 Users Say Thank You to ilikecows For This Useful Post:
mishra.a.c (12-28-2011), Perderabo (02-07-2011)
Sponsored Links
    #2  
Old Unix and Linux 02-06-2011   -   Original Discussion by ilikecows
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 21 November 2017, 3:22 PM EST
Location: Saskatchewan
Posts: 22,518
Thanks: 1,154
Thanked 4,273 Times in 3,946 Posts
Most csh programmers that come here have been forced to use it at paycheck-point.
Sponsored Links
    #3  
Old Unix and Linux 02-06-2011   -   Original Discussion by ilikecows
cfajohnson's Unix or Linux Image
cfajohnson cfajohnson is offline Forum Advisor  
Shell programmer, author
 
Join Date: Mar 2007
Last Activity: 11 July 2016, 2:55 PM EDT
Location: Toronto, Canada
Posts: 2,898
Thanks: 0
Thanked 134 Times in 118 Posts
Quote:
Originally Posted by ilikecows View Post
I have noticed a few posts asking questions about c shell scripting these past few days. This a good read for those that currently or are thinking about writing a csh script:

Csh Programming Considered Harmful

See also:
Top Ten Reasons not to use the C shell
Csh problems
The Following 2 Users Say Thank You to cfajohnson For This Useful Post:
mishra.a.c (12-28-2011), Perderabo (02-07-2011)
    #4  
Old Unix and Linux 02-27-2011   -   Original Discussion by ilikecows
bigearsbilly bigearsbilly is offline
Registered User
 
Join Date: Feb 2006
Last Activity: 30 September 2016, 3:54 AM EDT
Location: Southern England
Posts: 253
Thanks: 0
Thanked 11 Times in 11 Posts
agreed.
Sponsored Links
    #5  
Old Unix and Linux 03-22-2011   -   Original Discussion by ilikecows
kristinu kristinu is offline
Registered User
 
Join Date: Dec 2009
Last Activity: 21 April 2017, 6:13 AM EDT
Posts: 893
Thanks: 68
Thanked 8 Times in 8 Posts
Can use bash. Would that be ok?
Sponsored Links
    #6  
Old Unix and Linux 03-22-2011   -   Original Discussion by ilikecows
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline
Registered User
 
Join Date: Dec 2003
Last Activity: 12 June 2016, 11:03 PM EDT
Location: /dev/ph
Posts: 4,996
Thanks: 73
Thanked 475 Times in 437 Posts
Yes, the bash shell is certainly better than csh or tcsh.
Sponsored Links
    #7  
Old Unix and Linux 03-23-2011   -   Original Discussion by ilikecows
LivinFree's Unix or Linux Image
LivinFree LivinFree is offline Forum Advisor  
Goober Extraordinaire
 
Join Date: Jul 2001
Last Activity: 16 June 2011, 4:50 PM EDT
Location: Portland, OR, USA
Posts: 1,626
Thanks: 2
Thanked 15 Times in 13 Posts
I like scripting in bash. It's close to POSIX, and a contender for ksh, which I haven't used a lot in the last few years, since I work almost exclusively on GNU/Linux kit.

My gripes about bash are a lack of floating-point arithmetic and a lack of ksh-style coprocesses (bash4 has a retarded coprocess implementation, IMNSHO). Other than that, it's grand, and available on a lot of platforms, if not already preinstalled.
Sponsored Links
Closed

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
Time command issuing all zeroes (is now considered homework help) lamentofking Homework & Coursework Questions 5 07-18-2013 09:50 PM
Google reporting UNIX.com as harmful site Unregistered Forum Support Area for Unregistered Users & Account Problems 6 12-29-2012 11:52 PM
Why is C/C++ considered low-level languages??? gabam Programming 5 06-14-2012 10:12 AM
Background & is considered as Idle david_hu_66 AIX 12 11-22-2010 04:15 AM
C: why decimals considered double by default ? limmer Programming 2 01-04-2010 12:32 PM



All times are GMT -4. The time now is 10:41 AM.