Quote:
I don't know of a csh feature to do this, but you might use the port misc/seq2.
|
seq is the GNU/Linux tool, FreeBSD, OpenBSD (And NetBSD?) come with
jot(1), i.e.:
Code:
% jot -s ' ' - 0 9
0 1 2 3 4 5 6 7 8 9
Arguably, the built-in bash syntax is easier to use and understand ... But the end result is the same nonetheless.
tcsh is (in my opinion) an excellent
interactive shell, it supports most features bash does, and generally just works well.
However, (t)csh is not a very good
scripting language, as stated above, this is a entirely different task, FreeBSD has /bin/sh for that.