[comp.unix.questions] csh variable manipulation

brunger@venus.ycc.yale.edu (01/17/90)

i would like to strip part of a path from a file name in a csh script.
the portion of the path i would like to strip is stored in a variable.

ex. WPATH = /user/tmp/ctree/orig
    FILEN = /user/tmp/ctree/orig/src/dix/newcode.c

i would like to strip the path in WPATH from FILEN leaving

src/dix/newcode.c

please respond to m@jacobi.biology.yale.edu
thanks in advance.