I'm new at the entire spectrum of printing in Unix, and especially when--as I understand it--the printers are on a Windows server. At work we have a variety of printers and printing from Windows, or from Unix via lp or lpr works fine.
The initial problem: Our users will be printing up to 20... (1 Reply)
How can I maintain different version control account(any common unix based version control like CVS,RCS,SCCS..) from a single UNIX Login Account.
Many programmers share a common UNIX user/login account.How do they maintain separate Version Control Account. (1 Reply)
I have a system where i take hourly back-ups of the system.The script for maintaining full backup for the last 5 days is
find /backup/server -type f -mtime +4 -exec rm -f {} \;
works fine for keeping the files of some 5 days old.
In the case of hourly backups.How do we write to keep... (2 Replies)
Hi everyone,
I have a script that takes command line entries, for example
# script.sh 1 "2" 3 4 "5"
I want to be able to maintain the integrity of this command line such that it is processed with the double quotes i.e.:
VAR1=1
VAR2="2"
VAR3=3
VAR4=4
VAR5="5"
The double-quotes... (2 Replies)
I have a common data folder with files like x* which is accessed by 3 unix servers.
Now each server will try to pick one file form this folder and move it to its local folder.
How to maintain file concurrency in this case?I dont want the same file to be accessed by more than one process. (2 Replies)
Hi guys,
I am trying to store some output in a file and then compare it to another file.
I am gathering information from 2 commands:
cat /opt/jbin/server.log.tmp > A
grep "ephemeral" /opt/jbin/log/server.log.2015-05-02-18 > B
The contents of both file are the same. This means if I do a... (3 Replies)
Hi all,
I have enable sar and the sa cron jobs in the sys account.
I would like to however, keep only 1 month of data.
Can i check for Solaris10, does sa2 do automatic purging of logs in /var/adm/sa/ that are 1 week old ?
-- Answer = yes ( in "/usr/lib/sa/sa2" if you open the script,... (2 Replies)
Discussion started by: javanoob
2 Replies
LEARN ABOUT OSX
tcl_recordandeval
Tcl_RecordAndEval(3) Tcl Library Procedures Tcl_RecordAndEval(3)__________________________________________________________________________________________________________________________________________________NAME
Tcl_RecordAndEval - save command on history list before evaluating
SYNOPSIS
#include <tcl.h>
int
Tcl_RecordAndEval(interp, cmd, flags)
ARGUMENTS
Tcl_Interp *interp (in) Tcl interpreter in which to evaluate command.
const char *cmd (in) Command (or sequence of commands) to execute.
int flags (in) An OR'ed combination of flag bits. TCL_NO_EVAL means record the command but do not evaluate it.
TCL_EVAL_GLOBAL means evaluate the command at global level instead of the current stack level.
_________________________________________________________________DESCRIPTION
Tcl_RecordAndEval is invoked to record a command as an event on the history list and then execute it using Tcl_Eval (or Tcl_GlobalEval if
the TCL_EVAL_GLOBAL bit is set in flags). It returns a completion code such as TCL_OK just like Tcl_Eval and it leaves information in the
interpreter's result. If you do not want the command recorded on the history list then you should invoke Tcl_Eval instead of Tcl_RecordAn-
dEval. Normally Tcl_RecordAndEval is only called with top-level commands typed by the user, since the purpose of history is to allow the
user to re-issue recently-invoked commands. If the flags argument contains the TCL_NO_EVAL bit then the command is recorded without being
evaluated.
Note that Tcl_RecordAndEval has been largely replaced by the object-based procedure Tcl_RecordAndEvalObj. That object-based procedure
records and optionally executes a command held in a Tcl object instead of a string.
SEE ALSO
Tcl_RecordAndEvalObj
KEYWORDS
command, event, execute, history, interpreter, record
Tcl 7.4 Tcl_RecordAndEval(3)