On Sat, Feb 14, 2004 at 11:57:23AM -0300, Luis Roa P. wrote: > if [ -f filename ] then; "accion a tomar si existe"; else "accion a tomar > si no existe"; di > > Eso suponiendo que tu script es en shell, lo cual no indicas.
Ojo que Perl tiene sintaxis similar, mencionada en perlfunc(1) como -X con diversas encarnaciones: -f, -r, etc. -- Alvaro Herrera (<alvherre[a]dcc.uchile.cl>) "In fact, the basic problem with Perl 5's subroutines is that they're not crufty enough, so the cruft leaks out into user-defined code instead, by the Conservation of Cruft Principle." (Larry Wall, Apocalypse 6)

