Hi,
I have a shell script with code
. perf.env
cd $QRY_DIR
for SHELL_FILE in sql1
do
export SNAME=$SHELL_FILE
${SCRIPT_DIR}/perf_qry.sh ${SPOOL_DIR} ${DB_ENVNAME} ${NAME} &
RC=$(expr ${RC:-0} + $? )
sleep 60
if
then
echo sysdate>test1
echo query1.txt>>test1
grep -i... (0 Replies)
Hi,
I have a shell script with code
. perf.env
cd $QRY_DIR
for SHELL_FILE in sql1
do
export SNAME=$SHELL_FILE
${SCRIPT_DIR}/perf_qry.sh ${SPOOL_DIR} ${DB_ENVNAME} ${NAME} &
RC=$(expr ${RC:-0} + $? )
sleep 60
if
then
echo sysdate>test1
echo query1.txt>>test1
grep -i... (6 Replies)
Hi,
I am a Unix Newbie :D.
I want to write a program such a way that:
Whenever number of filedescriptors opened by a process change, it should execute some commands (eg: write total number of FDs at that point of time to a file).
I dont want to poll '/proc/<pid>/fd' at regular intervals... (3 Replies)
I have a korn shell script that executes a function which is stored in a common library. In the function there is obviously some code. Here is the line of code in the function in question:
temp=`echo $status_cnt|tr -d `
When the shell script executes with set -x, I'm seeing that on most... (2 Replies)
I have a program dnapars
I execute the program from command line as following:
./dnapars
The program then prompts me some message as a user menu from where I have to select a series of options in the order R U Y R. And then I copy the output file (outfile) in another result file.
I wrote the... (3 Replies)
I am trying to run SSH , mkdir and other unix commands using Perl CGI. But i am not able to Execute these commands.
Please help me out !!!!
SSH and mkdir is necessity for me.
I will be thankful to you...!!!!!
I am trying like:
In perl CGI file i am writing like: @list = `ssh... (28 Replies)
I need to run few commands in a ksh script sequentially.
Some of the commands are jobs submitted to the server and the consecutive commands are dependent on the completion of the jobs submitted to the server.
It works if i separate the commands into different files like this
#!/bin/ksh... (1 Reply)
I have a question:
Where would I put the Command line (of any command) so that it executes every time I log on? Where would I put it if I want it to execute every time I start a new shell? (5 Replies)
Hi all,
I have a problem with ftp execution within unix environment.
I'd like to get files on remote and delete them later, but here is too crowd so I can accidentally delete some files. Can I delete only the files I can get to the local folder? I can ask this question with a different... (14 Replies)
Discussion started by: attillam
14 Replies
LEARN ABOUT MOJAVE
mac::types
Types(3) User Contributed Perl Documentation Types(3)NAME
Mac::Types - Macintosh Toolbox Types and conversions.
DESCRIPTION
Access to Inside Macintosh is essential for proper use of these functions. Explanations of terms, processes and procedures are provided
there. Any attempt to use these functions without guidance can cause severe errors in your machine, including corruption of data. You have
been warned.
Functions
MacPack [ CONVERTERS ...] CODE, DATA ...
Convert a perl value into a Mac toolbox type. Predefined codes are:
TEXT
Text (an identity operation).
enum
type
keyw
A 4-byte string.
bool
A boolean.
shor
A short integer.
long
A long integer.
sing
A single precision float.
doub
A double precision float.
magn
An unsigned long.
qdrt
A QuickDraw "Rect".
'STR '
A pascal style string.
'STR#'
A string list.
'fss '
A file specification record.
You can pass further code mappings as hash references.
MacUnpack [ CONVERTERS ...] CODE, DATA
Convert a Mac toolbox type into a perl value. Predefined codes are as for "MacPack". You can pass further code mappings as hash
references.
XS Functions
Debugger [ MSG ]
Break into MacsBug. Don't use this if you don't know what MacsBug is.
AUTHOR
Written by Matthias Ulrich Neeracher <neeracher@mac.com>. Currently maintained by Chris Nandor <pudge@pobox.com>.
perl v5.18.2 2017-10-06 Types(3)