Annotation of coherent/a/usr/man/COHERENT/basename, revision 1.1

1.1     ! root        1: 
        !             2: 
        !             3: basename                     Command                     basename
        !             4: 
        !             5: 
        !             6: 
        !             7: 
        !             8: Strip file name
        !             9: 
        !            10: bbaasseennaammee _f_i_l_e [ _s_u_f_f_i_x ]
        !            11: 
        !            12: basename  strips  its  argument  file  of any  leading  directory
        !            13: prefixes.  If  the result contains the  optional suffix, basename
        !            14: also strips it.  basename  prints the result on the standard out-
        !            15: put.
        !            16: 
        !            17: For example, the command
        !            18: 
        !            19: 
        !            20:         basename /usr/fred/source.c
        !            21: 
        !            22: 
        !            23: returns
        !            24: 
        !            25: 
        !            26:         source.c
        !            27: 
        !            28: 
        !            29: basename is  most useful  when it is  used with other  shell com-
        !            30: mands.  For example, the command
        !            31: 
        !            32: 
        !            33:         for i in *.c
        !            34:         do
        !            35:                 cp $i `basename $i .c`.backup
        !            36:         done
        !            37: 
        !            38: 
        !            39: copies  every file  that has  the suffix  .cc into  an identically
        !            40: named file that has the suffix .bbaacckkuupp.
        !            41: 
        !            42: ***** See Also *****
        !            43: 
        !            44: commands, sh
        !            45: 
        !            46: 
        !            47: 
        !            48: 
        !            49: 
        !            50: 
        !            51: 
        !            52: 
        !            53: 
        !            54: 
        !            55: 
        !            56: 
        !            57: 
        !            58: 
        !            59: 
        !            60: 
        !            61: 
        !            62: 
        !            63: 
        !            64: COHERENT Lexicon                                           Page 1
        !            65: 
        !            66: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.