LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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


Reply
  Search this Thread
Old 09-20-2007, 01:23 PM   #1
WingnutOne
Member
 
Registered: Sep 2007
Location: Kansas City
Distribution: Mixed, mostly RH / Fedora
Posts: 76

Rep: Reputation: 16
Question Better place for learning than the man pages?


Once you have a general understanding of how a command works, the man pages on most of them are a great reference on how to get the most out of that command.
By all accounts, awk/gawk is an excellent tool, but all the man page is a little cryptic for a first time user who doesn't know the basic context yet.
Is there a better place to look if you want to learn the basics of how a given command works - especially it's syntax structure? Arrays, Patterns, Regular Expressions, Actions, Operators, Functions, etc. all look like great features, but they'll be a lot more useful once I learn how to put them together correctly.

For gawk in particular, what do all of the special characters like {} () [] + - = ! ^ / | \ , ; $ " ' ` etc. actually do? I can see that some things , like the various brackets & quotes, probably go together in sets, but where can I find a basic reference for which ones to use where and how they interact?


I hope that's not too broad of a request, but I'd appreciate any direction you might be able to offer - not just for gawk, but for other programs like PERL, BASH, FOR, WHILE, etc.

Thanks!
 
Old 09-20-2007, 01:32 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,817

Rep: Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609Reputation: 609
Google. Yes.
 
Old 09-20-2007, 03:29 PM   #3
SlowCoder
Member
 
Registered: Oct 2004
Location: Southeast, U.S.A.
Distribution: Fedora (Desktop), CentOS (Server), Knoppix (Diags)
Posts: 934

Rep: Reputation: 38
Quote:
Originally Posted by AlucardZero View Post
Google. Yes.
Absolutely. Google is your friend, and the web is it's playground.

I prefer to hit the man pages when I can, because I like conciseness. But even the man pages can get too harrowing at times.

There are soooo many tutorials on the Internet. You'll find them for little dinky things, and monster projects, too!
 
Old 09-20-2007, 04:16 PM   #4
colucix
LQ Guru
 
Registered: Sep 2003
Location: Bologna
Distribution: CentOS 6.5 OpenSuSE 12.3
Posts: 10,509

Rep: Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976Reputation: 1976
Just a couple of suggestions. The best reference for learning Gawk is the official manual (Gawk: effective AWK programming), very well written and with a lot of examples and test cases. For BASH you can learn a lot from The Advanced Bash Scripting Guide, available on the Linux Documentation Project (www.tldp.org) but better to start from some other basic reference available on the same site.
 
Old 09-20-2007, 08:59 PM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,258

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
For Perl: http://perldoc.perl.org/ . Lang definition with examples, also tutorials (see upper left options).
There's a lot of good stuff here for Linux, inc bash etc http://rute.2038bug.com/index.html.gz
 
Old 09-21-2007, 11:06 AM   #6
WingnutOne
Member
 
Registered: Sep 2007
Location: Kansas City
Distribution: Mixed, mostly RH / Fedora
Posts: 76

Original Poster
Rep: Reputation: 16
Thanks all!
 
  


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
LQ man pages simcox1 LQ Suggestions & Feedback 1 08-06-2006 10:25 AM
C man pages sono2 Linux - General 1 09-09-2005 11:36 AM
Apache + where to place web pages?? blizunt7 Fedora 6 06-01-2005 04:27 PM
C++ man pages Guest1234 Ubuntu 0 05-11-2005 03:45 AM
man pages spuppett Linux - General 5 02-23-2003 03:28 AM


All times are GMT -5. The time now is 07:11 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