~ubuntu-branches/ubuntu/raring/tcl8.5/raring

« back to all changes in this revision

Viewing changes to doc/file.n

  • Committer: Bazaar Package Importer
  • Author(s): Sergei Golovan
  • Date: 2011-06-26 11:47:14 UTC
  • mfrom: (11.2.2 sid)
  • Revision ID: james.westby@ubuntu.com-20110626114714-mdw95b180f00mm08
Tags: 8.5.10-1
* New upstream release (closes: #617628).
* Changed tclsh8.5 alternative priority to 850 to make it higher than
  tclsh8.4 one.
* Bumped standards version to 3.9.2.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
'\" See the file "license.terms" for information on usage and redistribution
6
6
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
7
7
'\" 
8
 
'\" RCS: @(#) $Id: file.n,v 1.53 2007/12/13 15:22:32 dgp Exp $
9
 
'\" 
10
8
.so man.macros
11
9
.TH file n 8.3 Tcl "Tcl Built-In Commands"
12
10
.BS
319
317
\fBfile readlink \fIname\fR
320
318
.
321
319
Returns the value of the symbolic link given by \fIname\fR (i.e. the name
322
 
of the file it points to).  If \fIname\fR is npt a symbolic link or its
 
320
of the file it points to).  If \fIname\fR is not a symbolic link or its
323
321
value cannot be read, then an error is returned.  On systems that do not
324
322
support symbolic links this option is undefined.
325
323
.TP
369
367
Returns a list whose elements are the path components in \fIname\fR.  The
370
368
first element of the list will have the same path type as \fIname\fR.
371
369
All other elements will be relative.  Path separators will be discarded
372
 
unless they are needed ensure that an element is unambiguously relative.
 
370
unless they are needed to ensure that an element is unambiguously relative.
373
371
For example, under Unix
374
372
.RS
375
373
.CS