POV-Ray : Newsgroups : povray.unix : jpeg_pov.o : Re: jpeg_pov.o Server Time
6 Oct 2024 12:00:59 EDT (-0400)
  Re: jpeg_pov.o  
From: Warp
Date: 19 Apr 2003 16:18:07
Message: <3ea1aeff@news.povray.org>
Florian Pesth <fpe### [at] compuservede> wrote:
> Can you give some examples? I have compiled a linux system right now 
> (after the "linux from scratch" manual), and it should be no big deal to 
> compile also zsh, if it's better. I have written some bash scripts, is 
> zsh also bash compatibel?

  I have never used bash, so I don't know what kind of enhancement it has
compared to sh, so I don't know if zsh implements the same enhancements
as well.

  Anyways, some features I like in zsh are for example the configurability
(with the 'setopt' command, which you can use to for example configure
the file completion and command history to work like in tcsh, like in
4dos, or as a hybrid of both (which I personally use), etc), and then
its shortcut and enhanced commands. For example in sh you would write:

for FILE in *.txt; do some_command $FILE; done

  This works ok in zsh, but you can also do it like this:

for FILE (*.txt) some_command $FILE

  (If there are several commands, you can put them inside {} brackets.)

  Moreover, you can do things like this:

for((I=0; I<100; ++I)) echo $I

etc, etc.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.