Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

cache_rm(1)



Command Reference       1.  User Commands                cache_ls



NAME
          cache_ls       Lists elements in a Synopsys cache.


SYNTAX
          cache_ls cache_dir reg_expr

          string cache_dir
          string reg_expr


ARGUMENTS
          cache_dir      Specifies a UNIX pathname to the cache
                         directory to be searched.  The pathname
                         should end with the directory component
                         "synopsys_cache".


          reg_expr       Specifies a regular expression to be
                         used to match the pathname of each cache
                         element that is to be listed.  The
                         regular expression is the type accepted
                         by the UNIX egrep command.



DESCRIPTION
          From the directory cache_dir, this command lists  the
          cache elements whose pathname (as opposed to the
          filename) matches the expression  reg_expr.  The
          command is translated into the following UNIX command:

               find cache_dir -type f -exec ck_path.sh {} reg_expr ; -print


          As an aside, an easy way to get all the cache elements
          is the UNIX command "ls -R".


EXAMPLES
          In this example, all of the  cache elements with "add"
          in their pathname are listed:

                         % cache_ls ~/synopsys_cache add


          This example lists cache elements that use lsi_10k or generic
          technology libraries:

                         % cache_ls ~/synopsys_cache "lsi_10k|generic"





V3.1      Synopsys Inc. 1988-1994. All rights reserved.       1-1





cache_ls                1.  User Commands       Command Reference



SEE ALSO
          cache_rm(1).





















































1-2       Synopsys Inc. 1988-1994. All rights reserved.      V3.1



Typewritten Software • bear@typewritten.org • Edmonds, WA 98026