Index: src/libged/tables.c =================================================================== --- src/libged/tables.c (revision 54020) +++ src/libged/tables.c (working copy) @@ -24,7 +24,7 @@ */ #include "common.h" - +#include "stdio.h" #include #ifdef HAVE_SYS_TYPES_H # include @@ -415,6 +415,7 @@ (void)fclose(tabptr); } else { int ret; + FILE *catOut; fprintf(tabptr, "* 9999999\n* 9999999\n* 9999999\n* 9999999\n* 9999999\n"); (void)fclose(tabptr); @@ -435,13 +436,9 @@ } bu_vls_printf(gedp->ged_result_str, "%V\n", &cmd); - bu_vls_trunc(&cmd, 0); - bu_vls_strcpy(&cmd, catcmd); - bu_vls_strcat(&cmd, argv[1]); - bu_vls_printf(gedp->ged_result_str, "%V\n", &cmd); - ret = system(bu_vls_addr(&cmd)); - if (ret != 0) - bu_log("WARNING: cat failure detected\n"); + catOut = fopen("/tmp/ord_id\0", "a"); + fprintf(catOut, argv[1]); + fclose(catOut); bu_file_delete("/tmp/ord_id\0"); }