10-31-2010
Reply - thank you so much.!!
can you also help with some of the others.. I spent like 6 hours yesterday tryin gto get it to work.. no luck..
I am driving to NC today (in about an hor or so) for training and have been trying to get all my other classes out of the way as well as I will be taking security+ exam on friday and wanted to focus on that.
I could not figure out how to do the exit statements that are asked or the error if the file or directory is unreadable?
This was my last resort as I was trying to figure it out myself... it is due today - even for partial credit - So I figured I would solicite online help - 5 or six hours googling etc..
again thanks
---------- Post updated at 10:27 AM ---------- Previous update was at 10:25 AM ----------
thanks for thre info about the quotes - that makes sense
5 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi guys
I have a shell script that executes sql statemets and sends the output to a file.the script takes in parameters executes sql and sends the result to an output file.
#!/bin/sh
echo " $2 $3 $4 $5 $6 $7
isql -w400 -U$2 -S$5 -P$3 << xxx
use $4
go
print"**Changes to the table... (0 Replies)
Discussion started by: magikminox
0 Replies
2. Shell Programming and Scripting
I am using blow script :--
#!/bin/bash
FIND=$(ps -elf | grep "snmp_trap.sh" | grep -v grep) #check snmp_trap.sh is running or not
if
then
# echo "process found"
exit 0;
else
echo "process not found"
exec /home/Ketan_r /snmp_trap.sh 2>&1 & disown -h ... (1 Reply)
Discussion started by: ketanraut
1 Replies
3. UNIX for Dummies Questions & Answers
I am trying to call a script(callingscript.sh) from a master script(masterscript.sh) to get string type value from calling script to master script. I have used scripts mentioned below.
#masterscript.sh
./callingscript.sh
echo $fileExist
#callingscript.sh
echo "The script is called"... (2 Replies)
Discussion started by: Raj Roy
2 Replies
4. Shell Programming and Scripting
Hello all,
I am facing a weird issue while executing a code below -
#!/bin/bash
cd /wload/baot/home/baotasa0/sandboxes_finance/ext_ukba_bde/pset
sh UKBA_publish.sh UKBA 28082015 3
if
then
echo "Param file conversion for all the areas are completed, please check in your home directory"... (2 Replies)
Discussion started by: ektubbe
2 Replies
5. Shell Programming and Scripting
I'm new to utilities like socat and netcat and I'm not clear if they will do what I need.
I have a "compileDeployStartWebServer.sh" script and a "StartBrowser.sh" script that are started by emacs/elisp at the same time in two different processes.
I'm using Cygwin bash on Windows 10.
My... (3 Replies)
Discussion started by: siegfried
3 Replies
LEARN ABOUT DEBIAN
viewrdsfig
VIEWRDSFIG(3) RDS PHYSICAL FUNCTIONS VIEWRDSFIG(3)
NAME
viewrdsfig - view caracteristics of a figure
ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in
Paris, France.
Web : http://asim.lip6.fr/recherche/alliance/
E-mail : alliance-users@asim.lip6.fr
SYNOPSYS
#include "rdsnnn.h"
void viewrdsfig( Figure )
rdsins_list *Figure;
PARAMETER
Figure Pointer to the figure to visualize.
DESCRIPTION
The viewrdsfig function displays caracteristics of the figure called 'Figure' and all the objets contained in this figure.
figure's parameters displayed to screen :
NAME figure's name.
MODE loading mode of the figure.
SIZE size of user structure added to the rdsrec_list structure.
Displays also rectangle and instance parameters of the figure (see viewrdsins and viewrdsrec functions).
RETURN VALUE
nothing
ERRORS
none
EXAMPLE
#include "mutnnn.h"
#include "rdsnnn.h"
#include "rtlnnn.h"
typedef struct UserStruct
{
char *STRING;
void *USER1;
} UserStruct;
main()
{
rdsfig_list *Figure;
rdsrec_list *Rectangle;
rdsins_list *Instance;
mbkenv();
rdsenv();
loadrdsparam();
Figure = addrdsfig ("core",sizeof ( UserStruct ) );
Instance = addrdsins (Figure,"na2_y","and2",RDS_NOSYM,8,6);
Rectangle =
addrdsfigrec(Figure,"Alu1",RDS_ALU1,2,4,12,1);
/*
visualization of the figure and its items
*/
/* */ viewrdsfig ( Figure );
}
SEE ALSO
librds, viewrdsrec, viewrdsins
BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory.
We need your feedback to improve documentation and tools.
ASIM
/LIP6 October 1, 1997 VIEWRDSFIG(3)