Angry Kitchen Appliances


 README


readlink

This simple program will print out the "real" name of a file, i.e. it
will resolve symbolic links.

1997-05-03, Göran Larsson, http://www.mitt-eget.com

Version: 1.0

Examples:
  $ ls *.Z
  a.tar.Z
  b.tar.Z
  c.tar.Z
  $ readlink *.Z
  a.tar.Z @ ../a-1.1/a.tar.Z
  b.tar.Z @ ../b-2.0/b.tar.Z
  c.tar.Z - ../c-1.0/c.tar.Z

Notes:
  The tag between the link name and the target has the following meaning:
    !  arg is a non-link file
    @  arg is a link and it resolves to an existing non-link file
    -  arg is a link and it resolves to an non-existenting non-link file
    #  arg has to many links pointing at links (deep nesting or circular)

  Multiple links are resolved, i.e. the resolve operation is used until
  the target is found or the resolve has been done DEPTH_LIMIT times.

 Links

 


The page has been visited 888888 times since 2002-10-30.
Last modified 2003-09-14 18:22:19 (built 2008-02-04 23:18:32).
Copyright © 2002-2006 Göran Larsson. All rights reserved.