csh variable manipulation

brunger at venus.ycc.yale.edu brunger at venus.ycc.yale.edu
Wed Jan 17 14:36:21 AEST 1990


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 at jacobi.biology.yale.edu
thanks in advance.



More information about the Comp.unix.questions mailing list