01-05-2020
Got it.... if I want to be able to view these
var, for say troubleshooting, canI? They can be virtual I just may need to verify them. Thank you
I think you beat me to it and just posted.
This User Gave Thanks to cmccabe For This Post:
10 More Discussions You Might Find Interesting
1. Solaris
Guys im using bash and for me i think its the best shell, anyway which conf file related to bash ? is it $SHELL or .profile i want to add path to it so i dont need to type the full path of the binary file, i also want to configure the behaviour of the shell, please help. (1 Reply)
Discussion started by: XP_2600
1 Replies
2. Web Development
okay i'm going to try to say this uber-simple:
I use dropbox (file-sync service). in order for dropbox sync files, they must be its children eg. somewhere under /home/jzacsh/Dropbox].
I want to now use it to keep my development files in sync across my machines:
easy: just move my dev. files... (2 Replies)
Discussion started by: jzacsh
2 Replies
3. Shell Programming and Scripting
Hi I am new to shell scripting. There is a requirement to write a shell script to meet follwing needs.Prompt reply shall be highly appreciated.
script that will compare two config files and produce 2 outputs - actual config file and a report indicating changes made.
OS :Susi linux ver 10.3.
... (4 Replies)
Discussion started by: muraliinfy04
4 Replies
4. Shell Programming and Scripting
Hi ,
I have a config _file that has 3 columns (Id Name Value ) with many rows . In my bash script i want to be able to parse the file and do a mapping of any Id value
so if i have Id of say brand1 then i can use the name (server5X) and Value (CCCC) and so on ...
Id Name ... (2 Replies)
Discussion started by: nano2
2 Replies
5. Shell Programming and Scripting
hi all
config.sh :
dhcp="0"
setip="1"
telnet="1"
ping="1"
main.sh
function dhcp {
}
function setip {
} (1 Reply)
Discussion started by: sadosan83
1 Replies
6. Shell Programming and Scripting
myscript.sh
#!/bin/bash
ARGA=$1
if ; then
echo "${ARGA}:Confirmed"
else
echo "${ARGA}:Unconfirmed"
fi
when I run the above script from the command line, i run it as:
./myscript.sh jsmith
now some times, i need to runn it this way: (8 Replies)
Discussion started by: SkySmart
8 Replies
7. UNIX for Dummies Questions & Answers
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
8. Shell Programming and Scripting
Dear Unix gurus,
We have a config shell script file which has 30 variables which needs to be passed to master unix shell script that invokes oracle database sessions. So those 30 variables need to go through the database sessions (They are inputs) via a shell script. one of the variable name... (1 Reply)
Discussion started by: dba1981
1 Replies
9. Shell Programming and Scripting
I want to make a config file which contain all the paths.
i want to read the config file line by line and pass as an argument on my below function.
Replace all the path with reading config path line by line and pass in respective functions.
how can i achieve that?
Kindly guide.
... (6 Replies)
Discussion started by: sadique.manzar
6 Replies
10. Shell Programming and Scripting
Hello,
My question is about curl command. (ubuntu14.04)
In terminal, I am able to download my mainfile with:
curl -u user1:pass1 http://11.22.33.44/*******
When I convert it into bash script like this:
#!/bin/bash
cd /root/scripts
computer_ip=11.22.33.44
curl -u $1:$2... (8 Replies)
Discussion started by: baris35
8 Replies
Subject(3I) InterViews Reference Manual Subject(3I)
NAME
Subject - object with views
SYNOPSIS
#include <InterViews/subject.h>
DESCRIPTION
A subject is an object that has one or more views that it wishes to notify when it changes. The SubjectIteractor class can be used if it
is necessary to iterate through the views of a subject explicitly.
Because subjects are shared, Subject is a subclass of Resource. To allow for the possibility of multiple inheritance, in which case only a
single copy of resource information should be maintained, Resource is a virtual base class.
PUBLIC OPERATIONS
enum UpdateHint {
attaching, detaching, setting, changing
}
This type enumerates possible hints when a subject is notifying a view that it has changed. The attaching hint indicates that a
view has attached to the subject. The detaching hint means that the subject is being deleted and the view should consider itself
detached. The setting hint means that the subject's value has been set, though possibly to the same value as it already has. The
changing hint means that the value is set to something different than it was previously.
virtual void attach(View*)
Add a view to the subject's list.
virtual void detach(View*)
Remove a view from the subject's list.
virtual void notify(UpdateHint = changing)
Notify all the views of a subject that it has been updated.
virtual boolean viewed_by(View*)
Return whether a given view is on the subject's list of views.
virtual void Attach(Interactor*)
This function is equivalent to attach and is provided solely for backward compatibility. It will be removed in a future version.
virtual void Detach(Interactor*)
This function is equivalent to detach and is provided solely for backward compatibility. It will be removed in a future version.
virtual void Notify()
This function is equivalent to notify(changing) and is provided solely for backward compatibility. It will be removed in a future
version.
boolean IsView(Interactor*)
This function is equivalent to viewed_by and is provided solely for backward compatibility. It will be removed in a future version.
SUBJECTITERATOR OPERATIONS
A subject iterator can be used to iterate through the views in a subject.
SubjectIterator(Subject*)
Create a subject iterator for the given subject. The iterator is only valid as long as the subject exists.
virtual void init()
Reset the iteration to start at the beginning of the list. This operation is called by the constructor.
virtual boolean more()
Return whether there are more views in the list.
virtual View* cur()
Return the current view.
virtual void remove()
Remove the current view from the list.
virtual void next()
Move the iteration to the next view in the list.
SEE ALSO
View(3I)
InterViews 29 June 1989 Subject(3I)