LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 12-12-2002, 09:06 PM   #1
robbage
Member
 
Registered: Dec 2002
Location: Western Australia
Distribution: OpenSuSe 11.x
Posts: 35

Rep: Reputation: 15
Learning to script


I wonder if someone can point me to a help resource where I can teach myself the art of writing scripts. I have programming experience on other OS; other language; so something that doesn't assumes I'm a complete dolt would be great. Mny Tnx

Cheers!
 
Old 12-13-2002, 05:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
check the bash and advanced bash howto's at http://tldp.org
 
Old 12-13-2002, 06:09 PM   #3
leed_25
Member
 
Registered: Jul 2002
Location: san francisco
Distribution: freebsd
Posts: 102

Rep: Reputation: 17
My favorite way of learning something like this is to find an existing
script and to add some functionality to it.
 
Old 12-14-2002, 02:40 AM   #4
robbage
Member
 
Registered: Dec 2002
Location: Western Australia
Distribution: OpenSuSe 11.x
Posts: 35

Original Poster
Rep: Reputation: 15
Thanks Chris.
I plan to, Leed_25

Cheers!
 
Old 12-14-2002, 05:13 AM   #5
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
my way to learn a new language is to have a reason to learn it, and understand how to do what I want in plain english, then just use an api or core reference to find the equivalent methods of doing it in any language.
 
Old 12-15-2002, 10:11 PM   #6
lackluster
Member
 
Registered: Apr 2002
Location: D.C - USA
Distribution: slackware-current
Posts: 488

Rep: Reputation: 30
I would recommend using Perl as it is more functional & portable than bash
 
Old 12-26-2002, 01:13 PM   #7
cyent
Member
 
Registered: Aug 2001
Location: ChristChurch New Zealand
Distribution: Ubuntu
Posts: 398

Rep: Reputation: 87
I would second that. The traditional sh/bash/ksh/csh/... beasts are fugly in extreme. Try a decent scripting language. Perl is powerful, but can be a tad ugly. Python is very clean and simple. Ruby combines the power of perl with
a cleaner and more consistent design than Python.

Having programmed in all the above, my favourite is by far Ruby.
See http://www.ruby-lang.org
for more details.
 
  


Reply


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
learning c++ g2axiom Programming 14 12-31-2004 07:57 PM
Help needed learning to write a shell script for logons nistur Linux - Networking 8 10-02-2004 02:34 AM
Learning as I go. Curious LinuxQuestions.org Member Intro 1 09-25-2003 12:07 AM
Learning C++ pilot1 Programming 8 07-02-2003 01:58 PM
learning Shell script ???? Atrocity Programming 3 02-02-2003 01:49 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 06:58 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
Open Source Consulting | Domain Registration