11-08-2005
system()
or
popen(), pclose()
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I'm very new to unix and for the most part make my way around but I need to know how to create a batch file that can be ran at scheduled time. The main function of the file will be to copy files to different locations then FTP to a different server. Please help. I you have an example that would be... (2 Replies)
Discussion started by: spotanddot
2 Replies
2. IP Networking
my requirment is
i have to call a batch file from a c++ program
that batch file is called with the argument as print.txt
print.txt is a text file which should get printed on printer (any printer) when a batch file call is made
1) how to call a batch file in c++
2) how to print the text... (1 Reply)
Discussion started by: ramneek
1 Replies
3. UNIX for Advanced & Expert Users
In my dir there are files like
a.xml
b.xml
abnc.xml
12.abc.xml
12.anc.sfoioi.xml
I need to remove .xml from all the files
Is there any direct way without using any for/do loop
Right now i am using
for file in *
do
... (7 Replies)
Discussion started by: reldb
7 Replies
4. UNIX for Dummies Questions & Answers
hi
how can i connect to a telnet session using the unix script...
need to create a batch file which has to run daily.
first it has to telnet to a IP then execute certain commands and log the session.
thanks
Aemu (1 Reply)
Discussion started by: aemunathan
1 Replies
5. UNIX for Advanced & Expert Users
EDIT: Is this wrong thread?
Hi I am on an Apple Mac and I am trying to run this batch file on my Mac and was wondering if anyone could tell me what a script that will make this run and work on my Mac. I was hoping that you could tell me the script in the shell format?
So here's the batch... (4 Replies)
Discussion started by: Billy5555100
4 Replies
6. Shell Programming and Scripting
Hi Guys,
I have a batch file that does a process "Import's sifs" & writes the log to a particular file. Sometimes in the log, it displays records with errors although there is no error.
Explaination -
IF SIF's are imported -> Successful
IF SIF's are not imported -> Error
IF SIF's are not... (2 Replies)
Discussion started by: nhanda
2 Replies
7. Shell Programming and Scripting
Hi
I have to create a windows batch file which will read an input file and remove "double quotes" from each line of the file.
For eg.If input file name is abcd.csv and contents is :
"asasd,123123,213213,asd"
"esfrf,dsfsdf,234324,sdfsdf"
Then the batch file should remove "" from the... (11 Replies)
Discussion started by: akashtcs
11 Replies
8. UNIX for Advanced & Expert Users
Hi all
I am using tru64 Unix and I want a ready batch file which makes me to change all user passwords at the same time ,instead of changing everyone separately.
Please could anyone help me to do that.
bye. (1 Reply)
Discussion started by: ahmedbashir
1 Replies
9. Shell Programming and Scripting
Hello everyone. I am new to shell scripting and i am required to create a shell script, the purpose of which i will explain below.
I am on a solaris server btw.
Before delving into the requirements, i will give youse an overview of what is currently in place and its purpose.
... (2 Replies)
Discussion started by: goddevil
2 Replies
REP(1) REP(1)
NAME
rep - Read, Eval, Print Interpreter
SYNOPSIS
rep [ FILE ] [ --batch ] [ --interp ] [ -f, --call FUNCTION ] [ -l, --load FUNCTION ] [ -s, --scheme FILE ] [ --version ] [
--no-rc ] [ -q, --quit ]
DESCRIPTION
rep `librep' is a dialect of Lisp, designed to be used both as an extension language for applications and as a general purpose programming
language. It was originally written to be mostly-compatible with Emacs Lisp, but has subsequently diverged markedly. Its aim is to combine
the best features of Scheme and Common Lisp and provide an environment that is comfortable for implementing both small and large scale sys-
tems. It tries to be a "pragmatic" programming language.
OPTIONS
FILE load the Lisp file FILE (from the cwd if possible, implies --batch mode)
--batch
Batch mode: process options and exit.
--interp
Interpreted mode: don't load compile Lisp files.
-f FUNCTION --call FUNCTION
Call the Lisp function FUNCTION.
-l FILE --load FILE
Load the file of Lisp forms called FILE.
-s FILE --scheme FILE
Load the file of Scheme forms called FILE (implies --batch mode).
--version
Print version details.
--no-rc
Don't load rc or site-init files.
-q --quit
Terminate the interpreter process.
SEE ALSO
The programs are documented fully by John Harper available via the Info system.
AUTHOR
This manual page was written by Christian Marillat <marillat@debian.org> for the Debian GNU/Linux system (but may be used by others).
04 avril 2003 REP(1)