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
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
Corona688 Corona688 is offline Forum Staff  
Mead Rotor
 
Join Date: Aug 2005
Last Activity: 27 June 2017, 11:58 AM EDT
Location: Saskatchewan
Posts: 22,254
Thanks: 1,105
Thanked 4,199 Times in 3,884 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
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
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
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
fpmurphy's Unix or Linux Image
fpmurphy fpmurphy is offline Forum Staff  
who?
 
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
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
Background & is considered as Idle david_hu_66 AIX 12 11-22-2010 03:15 AM
C: why decimals considered double by default ? limmer Programming 2 01-04-2010 11:32 AM
C Programming - Hardware Programming nandumishra Programming 3 08-24-2009 04:11 AM
Carreer:Networking Programming in Unix (C programming Language) vibhory2j UNIX for Dummies Questions & Answers 5 09-05-2008 07:57 PM
c programming or unix programming!? moxxx68 Programming 1 03-30-2004 07:53 AM



All times are GMT -4. The time now is 01:33 PM.