Sponsored Content
Full Discussion: Script Help
Homework and Emergencies Homework & Coursework Questions Script Help Post 302467794 by brettstoddard on Sunday 31st of October 2010 10:27:14 AM
Old 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

create a shell script that calls another script and and an awk script

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

Script will keep checking running status of another script and also restart called script at night

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

Calling a script from master script to get value from called script

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

Shell script works fine as a standalone script but not as part of a bigger script

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

How to block first bash script until second bash script script launches web server/site?

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
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)
All times are GMT -4. The time now is 09:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy