Version 5 of Tcl built-ins for cross platform functionality

Updated 2001-10-16 19:08:48

Purpose: to document the various Tcl commands available to perform functions for which programmers commonly think they need external commands.

  • clock instead of external commands for date or time
  • glob instead of external commands for file listing commands like dir or ls
  • file copy, delete, rename...
  • open/read/close instead of external commands for reading files
  • tcllib's fileutil has procs for cat, find, and grep
  • while it isn't built in, see tail for info on doing basic 'read me the end of a file' type processing.

Arts and crafts of Tcl-tk programming