home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.tcl
- Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!menudo.uh.edu!sugar!nhandel
- From: nhandel@NeoSoft.com (Nick Handel)
- Subject: Problem doing "file stat" on some filenames
- Organization: ParaNet, Inc.
- Date: Sat, 21 Nov 1992 19:06:04 GMT
- Message-ID: <By2yE5.CMo@NeoSoft.com>
- Lines: 14
-
-
- I've been unable to find a simple way of doing a file stat operation
- on filenames that begin with a tilde (~) character, without tcl
- interpreting it as a user id, for example:
-
- set fileName "~interleaf.backupfile"
- file stat $fileName foo
-
- tells me there is no such user as "interleaf.backupfile".
- Any suggestions?
-
- --
- --Nick Handel "If we knew what the hell we were doing,
- nhandel@sugar.NeoSoft.com it wouldn't be research..."
-