| tdelete | tables | tdelete |
tdelete -- Delete a table.
tdelete table
This task deletes tables. The input may be a general filename template, including wildcard characters, or the name of a list file (preceded by the "@" character) containing table names.
The task checks that the file to be deleted really is a table before deleting it. In order to protect against accidental deletion of files other than tables, text tables may be deleted using tdelete only if verify = yes.
1. Delete a single table.
cl> tdelete table
2. Delete several tables.
cl> tdelete table1,table2,tab67 cl> tdelete *.tab,a,b,cIn the latter case, the extension is given explicitly because there may be other files beginning with "tab" that are not tables.
3. Delete a list of tables using verify.
cl> tdelete fits*.tab ver+ cl> delete table `fits1.tab' ? (yes): yes cl> delete table `fits2.tab' ? (yes): yes cl> delete table `fits3.tab' ? (yes): yes
Text tables cannot be deleted by tdelete unless verify is set to yes.
This task was written by Phil Hodge.