Re: seeking shell scripting resources

2004-03-02 Thread Marty Landman
At 10:28 AM 3/2/2004, Jeff Hinrichs wrote:
>
Have you tried the Advanced Bash-Scripting Guide:
  http://www.tldp.org/LDP/abs/html/
Yep, on my server and scanned with htdig along with a bunch of others. 
Thanks Jeff.

Marty Landman   Face 2 Interface Inc.   845-679-9387
FormATable  DB: http://face2interface.com/Products/FormATable.shtml
Make a Website: http://face2interface.com/Home/Demo.shtml
Free Formmailer: http://face2interface.com/Products/Formal.shtml  

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seeking shell scripting resources

2004-03-02 Thread Jeff Hinrichs
- Original Message - 
From: "Quintin Riis" <[EMAIL PROTECTED]>
To: "Marty Landman" <[EMAIL PROTECTED]>
Cc: <[EMAIL PROTECTED]>
Sent: Tuesday, March 02, 2004 5:18 AM
Subject: Re: seeking shell scripting resources


> -BEGIN PGP SIGNED MESSAGE-
> Hash: SHA1
> 
> No problem.  I know of no good guides, all that I have found use
> inefficient coding practices.  Just make it up as you go along, show
> what you come up with to someone more experienced, and learn.
> 
Have you tried the Advanced Bash-Scripting Guide:
  http://www.tldp.org/LDP/abs/html/

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seeking shell scripting resources

2004-03-02 Thread Quintin Riis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
No problem.  I know of no good guides, all that I have found use
inefficient coding practices.  Just make it up as you go along, show
what you come up with to someone more experienced, and learn.
		Quintin

Marty Landman wrote:

| At 10:09 AM 2/22/2004, Quintin Riis wrote:
|
|> Are you using bash?
|
|
| I'm new and want to learn scripting to help with running my network. So
| I'm completely flexible as I don't know enough to have any preferences.
|
|> Try /usr/ports/shells/bash2/work/bash-2.05b/examples/ for a few examples.
|
|
| Ok, making /usr/ports/shells/bash2/ now and then I'll see what's in there.
|
| Haven't found much around at all on shell programming and would like to
| start learning it. Any more resources would be most welcome to find out
| about.
|
| Thanks Quintin.
|
| Marty Landman   Face 2 Interface Inc 845-679-9387
| This Month's New Quiz --- Past Superbowl Winners
| Make a Website: http://face2interface.com/Home/Demo.shtml
|
|
|
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFARG2Pkt6kXuDr+LcRAtubAKCwqNJ/ei+gRYAesf7DzUrAr8/LggCgpgdt
oz3Bnb8B+SGGd9nADk3EkwA=
=gfu9
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: seeking shell scripting resources

2004-02-22 Thread mark rowlands

> 
> Haven't found much around at all on shell programming and 
> would like to start learning it. Any more resources would be 
> most welcome to find out about.
> 
then you haven't looked 

http://www.google.com/search?hl=en&lr=lang_en%7Clang_sv&ie=UTF-8&oe=UTF-
8&safe=off&q=unix+scripting&btnG=Google+Search&lr=lang_en%7Clang_sv

http://www.google.com/search?hl=en&lr=lang_en%7Clang_sv&ie=UTF-8&oe=UTF-
8&safe=off&q=bash+scripting&btnG=Google+Search&lr=lang_en%7Clang_sv

http://freshmeat.net/projects/advancedbashscriptingguide/

> ___
> [EMAIL PROTECTED] mailing list 
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "[EMAIL PROTECTED]"
> 
> 
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seeking shell scripting resources

2004-02-22 Thread Scott W
Marty Landman wrote:

I'm new to running my own unix systems and would like to start 
learning the ropes on shell scripting. I've looked at the handbook and 
a few other sources... maybe haven't looked closely enough.

Any recommendations on more involved manuals/explanations/examples of 
how shell scripts should be developed and used?

Marty Landman   Face 2 Interface Inc 845-679-9387
This Month's New Quiz --- Past Superbowl Winners
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"

Hi Marty.  There are a few tutorials out there, but I haven't seen any 
really good or 'complete' ones online.  (There may be some, but from 
memory I don't remember finding any).

If you're going to use Bash, give the O'Reilly 'Learning the Bash Shell' 
book a shot.  Another one that does cover other shells is called either 
'Unix Shells' or 'Unix Scripting' (don't recall which and it's at 
work..), which was published 2003 IIRC.

Scott

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seeking shell scripting resources

2004-02-22 Thread David Fleck
On Sun, 22 Feb 2004, Julien Gabel wrote:
> Haven't found much around at all on shell programming and would like
> to start learning it. Any more resources would be most welcome to find
> out about.

Shells differ in their programming constructs, so anything you learn in
one shell may not be transferrable to others.  As a personal preference, I
usually try to write scripts for /bin/sh (for portability), unless I need
a ksh or bash construct.  bash is a variant of sh, with a lot of bells and
whistles added, so techniques that work in bash *usually* work in sh (and
ksh).

With that preface, you might try http://www.tldp.org/LDP/abs/html/ as a
start.  It's bash-oriented, but a lot if it will apply to other shells (sh
and ksh, not so much csh and tcsh) as well.

And your system scripts are also an excellent place to learn by example.


--
David Fleck
[EMAIL PROTECTED]

___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seeking shell scripting resources

2004-02-22 Thread Julien Gabel
> Haven't found much around at all on shell programming and would like
> to start learning it. Any more resources would be most welcome to find
> out about.

* Little course / UNIX Shell Scripting:
  http://users.sdsc.edu/~steube/Bshell/

* Tips & tricks / Shell Corner from UnixReview by Ed Schaefer:
  http://www.unixreview.com/columns/schaefer/

It is not FreeBSD specific though.
-- 
-jg.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seeking shell scripting resources

2004-02-22 Thread Marty Landman
At 10:09 AM 2/22/2004, Quintin Riis wrote:

Are you using bash?
I'm new and want to learn scripting to help with running my network. So I'm 
completely flexible as I don't know enough to have any preferences.

Try /usr/ports/shells/bash2/work/bash-2.05b/examples/ for a few examples.
Ok, making /usr/ports/shells/bash2/ now and then I'll see what's in there.

Haven't found much around at all on shell programming and would like to 
start learning it. Any more resources would be most welcome to find out about.

Thanks Quintin.

Marty Landman   Face 2 Interface Inc 845-679-9387
This Month's New Quiz --- Past Superbowl Winners
Make a Website: http://face2interface.com/Home/Demo.shtml
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: seeking shell scripting resources

2004-02-22 Thread Quintin Riis
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Are you using bash?  Try
/usr/ports/shells/bash2/work/bash-2.05b/examples/ for a few examples.
They should be "developed and used" to fit your needs. :)

		Quintin

Marty Landman wrote:
| I'm new to running my own unix systems and would like to start learning
| the ropes on shell scripting. I've looked at the handbook and a few
| other sources... maybe haven't looked closely enough.
|
| Any recommendations on more involved manuals/explanations/examples of
| how shell scripts should be developed and used?
|
| Marty Landman   Face 2 Interface Inc 845-679-9387
| This Month's New Quiz --- Past Superbowl Winners
| Make a Website: http://face2interface.com/Home/Demo.shtml
|
| ___
| [EMAIL PROTECTED] mailing list
| http://lists.freebsd.org/mailman/listinfo/freebsd-questions
| To unsubscribe, send any mail to
| "[EMAIL PROTECTED]"
|
|
|
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.2.4 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAOMYlkt6kXuDr+LcRAoquAKC2VnM470804Jt7k9rseMazTnF9WgCgpNMp
VhrUb3PXTM+kulLPKtZun6Y=
=xx8c
-END PGP SIGNATURE-
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"