From owner-freebsd-questions@FreeBSD.ORG Wed Mar 29 17:53:11 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EEB8416A420 for ; Wed, 29 Mar 2006 17:53:11 +0000 (UTC) (envelope-from usleepless@gmail.com) Received: from zproxy.gmail.com (zproxy.gmail.com [64.233.162.203]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7ED5643D49 for ; Wed, 29 Mar 2006 17:53:11 +0000 (GMT) (envelope-from usleepless@gmail.com) Received: by zproxy.gmail.com with SMTP id 8so208062nzo for ; Wed, 29 Mar 2006 09:53:11 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=ETYoh8OGgwKSWF7dszzuG8Xrzy6ugCAvcdY77xA4Y171b7A5Kf6A0Gxn7WXR/qMyx5eYguuaZbpk3WzdL27Ma3u026dh5Dli8VqwxQrq5SGqtfkz62GMexJ5s/PN28m94h70dfYnxNKOu7/4ltqf7wPmBIyh7k2g3IePLRqEG2Q= Received: by 10.36.222.58 with SMTP id u58mr26811nzg; Wed, 29 Mar 2006 09:53:10 -0800 (PST) Received: by 10.36.154.20 with HTTP; Wed, 29 Mar 2006 09:53:10 -0800 (PST) Message-ID: Date: Wed, 29 Mar 2006 19:53:10 +0200 From: usleepless@gmail.com To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Subject: Shell ( csh, sh ) scripting and seq-command X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 17:53:12 -0000 Dear List, i have prototyped a subset of the linux seq command in php ( ouch, yes. ). = why? i don't know how to do it in any shell-script. i have been reading man-pages, searching google, but years later, i still can't do a thing in them. maybe it is my blindspot. here it goes ( without the tags etc ): #!/usr/local/bin/php i would appreciate any implementations in csh, sh or bash or whatever. maybe i will learn. csh or sh would be the most interesting though. this code is trivial to implement in C, that is not my problem. regards, usleep