From owner-freebsd-questions Sat Dec 1 20:11:45 2001 Delivered-To: freebsd-questions@freebsd.org Received: from lists.blarg.net (lists.blarg.net [206.124.128.17]) by hub.freebsd.org (Postfix) with ESMTP id BB80F37B419 for ; Sat, 1 Dec 2001 20:11:42 -0800 (PST) Received: from thig.blarg.net (thig.blarg.net [206.124.128.18]) by lists.blarg.net (Postfix) with ESMTP id 6E9ACBD0E; Sat, 1 Dec 2001 20:11:42 -0800 (PST) Received: from localhost.localdomain ([206.124.139.115]) by thig.blarg.net (8.9.3/8.9.3) with ESMTP id UAA01076; Sat, 1 Dec 2001 20:11:42 -0800 Received: (from jojo@localhost) by localhost.localdomain (8.11.6/8.11.3) id fB24Bw410886; Sat, 1 Dec 2001 20:11:58 -0800 (PST) (envelope-from swear@blarg.net) To: Tony Cc: questions@FreeBSD.ORG Subject: Re: sh/csh example scripts References: <200112012319.PAA00437@idk.com> From: swear@blarg.net (Gary W. Swearingen) Date: 01 Dec 2001 20:11:57 -0800 In-Reply-To: <200112012319.PAA00437@idk.com> Message-ID: <06wv06p8fm.v06@localhost.localdomain> Lines: 15 User-Agent: Gnus/5.0808 (Gnus v5.8.8) XEmacs/21.1 (Cuyahoga Valley) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Tony writes: > I am trying to learn writing shell scripts. That's the best way to learn shell script writing. > What I am looking for is 1 (or more) that has a lot of examples... This shell command will find many examples: locate . | grep "\.[c]*sh$" This will find more: find / | xargs egrep "^#!/bin/(csh|sh)" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message