From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Reiner Steib <4.uce.03.r.s@nurfuerspam.de> Newsgroups: gmane.emacs.help Subject: Re: Loops and scripting in eshell Date: Mon, 20 Oct 2003 21:48:01 +0200 Organization: Dept. of Theoretical Physics, University of Ulm Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <86fzhuqome.fsf@slowfox.dyndns.org> Reply-To: reiner.steib@gmx.de NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1066680106 30475 80.91.224.253 (20 Oct 2003 20:01:46 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 20 Oct 2003 20:01:46 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Oct 20 22:01:44 2003 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ABgDo-0003qQ-00 for ; Mon, 20 Oct 2003 22:01:44 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1ABgCq-0003Eb-29 for geh-help-gnu-emacs@m.gmane.org; Mon, 20 Oct 2003 16:00:44 -0400 Original-Newsgroups: gnu.emacs.help X-Face: 'bg&jY[8V'W&:=~6w"|>}#4/T; w~36ei4NNMyKRR.a$n=$|sWFPF1y]a\>6kc\*#GN]UDM| Ywv, vbL^XF1nIp\:F=$Ei2o&mEe:%N~, :3]vtQ~s9u$9izmX$IF@VgGl7/, ^dbuM<3|AO2}.%|%?kZ 2Y=@\U!~cll^=8Z9ihKq%wmUe1Ky(#kl3T'>Qk0Ia3mCBsTk?E(,X Mail-Copies-To: nobody User-Agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3 (gnu/linux) Cancel-Lock: sha1:gpxdCWSCIxPKgBB67THIY8mZevU= Original-NNTP-Posting-Host: lumberjack.physik.uni-ulm.de Original-X-Trace: news.uni-ulm.de 1066679408 134.60.10.173 (20 Oct 2003 21:50:08 +0200) Original-Lines: 35 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!bloom-beacon.mit.edu!nycmny1-snh1.gtei.net!news.gtei.net!newsfeed.mathworks.com!nntp-out.monmouth.com!newspeer.monmouth.com!newspeer1.nwr.nac.net!solnet.ch!solnet.ch!130.59.10.21.MISMATCH!irazu.switch.ch!switch.ch!news.belwue.de!news.uni-ulm.de!lumberjack.physik.uni-ulm.de!not-for-mail Original-Xref: shelby.stanford.edu gnu.emacs.help:117457 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:13388 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:13388 On Sun, Oct 19 2003, Oliver Scholz wrote: > for i in `ls` do ... Useless use of ls. ;-) for i in *; do something; done > 2. Where can I get (comprehensive) documentation for the sh (bourne?) > command syntax? man sh ash bash ksh sh-posix ;-) (Or maybe I don't understand the question?) - Online man pages: http://netbsd.gw.com/cgi-bin/man-cgi?sh++NetBSD-current http://www.openbsd.org/cgi-bin/man.cgi?query=sh - "Shell Command Language Index" http://www.opengroup.org/onlinepubs/7908799/xcu/shellix.html - "For Loop" therein: http://www.opengroup.org/onlinepubs/7908799/xcu/chap2.html#tag_001_009_004_002 - http://www.unix-systems.org/whitepapers/shdiffs.html - "The Traditional Bourne Shell Family" http://www.in-ulm.de/~mascheck/bourne/ - "Various system shells" http://www.in-ulm.de/~mascheck/various/shells/ HTH. Bye, Reiner. -- ,,, (o o) ---ooO-(_)-Ooo--- PGP key available via WWW http://rsteib.home.pages.de/