This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.
For more information, see this announcement post . Click the X in the top right-corner of this box to dismiss this message.
Old posts that have not been replied to for several years.
V
Vosje
Post
by Vosje » Tue Nov 27, 2001 1:32 pm
Hello,
How can i view trou an eggdrop, the list
of files in a directory, where i store
files with that eggdrop ([open filename w]).
Or must i use [catch {exec ls} buff]?
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue Nov 27, 2001 1:40 pm
I am unsure what version of Tcl it was added in, but the glob command will allow you to list the file in a directory.
V
Vosje
Post
by Vosje » Tue Nov 27, 2001 1:53 pm
Yes i know,
but i will see all names that i create in that dir
how can i do that (same as you do ls on linux) if that is possible
ppslim
Revered One
Posts: 3914 Joined: Sun Sep 23, 2001 8:00 pm
Location: Liverpool, England
Post
by ppslim » Tue Nov 27, 2001 4:02 pm
HMM, OK, and the "glob" command doesn't do that. Guess that means this perfectly work Tcl I have here, showing me my directory output at this second, is not working. ODD