Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2002 15:54:32 -0700 (PDT)
From:      Viktor Lazlo <viktorlazlo@telus.net>
To:        James <effdefender@earthlink.net>
Cc:        David Smithson <david@customfilmeffects.com>, FreeBSD-Questions <freebsd-questions@FreeBSD.ORG>
Subject:   Re: How do I repeat a command N times?
Message-ID:  <20020709155242.P504-100000@njam.dhs.org>
In-Reply-To: <001001c2276c$bacddcc0$0301a8c0@sys.gtei.net>

next in thread | previous in thread | raw e-mail | index | archive | help


On Tue, 9 Jul 2002, James wrote:

> I'm still new, but:
> It's probably your shell.
> The C-Shell (csh) isn't good for programming scripts.
> Try changing to the Bourne shell (sh) and running it again.
> Switch to the Bourne shell simply by typing "sh"
>
> I was messing with some basic script programs yesterday (though I haven't
> learned Perl yet), and it would not work (I had similar errors) unless I
> switched back to the Bourne shell.
>
> I think you might be able to program the C-Shell with C like statements, but
> I'm still learning.

There's ultimately no great advantage to using one shell over the other
for running simple scripts, each shell simply uses its own scripting
language with different commands and sytax from the others, it's just a
matter of finding which you are the most comfortable with.

Cheers,

Viktor


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020709155242.P504-100000>