|
|
Warp wrote:
>
> head -n 17361 mesh2.pov | tail -n `expr 17361 - 8605`
> head -17361 mesh2.pov | tail +8756
> head -17361 mesh2.pov | tail +${17361-8605}
Not using -n is not a documented feature AFAIK and my version IMO is
much better to understand for someone not so fluent in shell programming.
Concerning use of 'cat' - of course it is never necessary to use it for
one file but it produces much more readable code in many situations,
especially if the program used requires the stuff from stdin (and you
would have to use 'program < mesh2.pov').
Christoph
--
POV-Ray tutorials, include files, Sim-POV,
HCR-Edit and more: http://www.tu-bs.de/~y0013390/
Last updated 17 Jun. 2003 _____./\/^>_*_<^\/\.______
Post a reply to this message
|
|