08-21-2008
are you new to unix world??
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello all,
I'm hoping to get a little insight from some of the wily veterans amongst you.
I've written a script to check for new outgoing files to our vendors located on our ssl server. It seems to be working ok, but the final question here, will be one of logic, and/or a better way to... (4 Replies)
Discussion started by: mph
4 Replies
2. Shell Programming and Scripting
hi,
why the following is giving entire /etc/passwd file as output
even when it does not contain ^ or $ .
grep ' ' /etc/passwd
whereas the following is not giving any output
grep ' ^$ ' /etc/passwd (3 Replies)
Discussion started by: useless79
3 Replies
3. Shell Programming and Scripting
Hi folks,
I have tried to add some trap detection in the below script....this script is used to monitor database activities...in a rather awkward way :rolleyes:....
The idea behind adding trap is that....this script creates lots of temporary files in the running folder to store the count... (1 Reply)
Discussion started by: frozensmilz
1 Replies
4. Shell Programming and Scripting
How can I perform a grep and it will give me a contain word (maintenance) instead of a string or the whole line of info.
grep with exclusive output?
or is there a CONTAIN with IF statement ?
I have a file call yast2_vhost.conf and it contain multiple entries call
maintenance.html... (2 Replies)
Discussion started by: yoom@hostwebase
2 Replies
5. UNIX for Advanced & Expert Users
Hi
How to prevent grep command from throwing a system trap(or returning error status) if No match is found in the specified file(s) ?
Consider this simple shell script:
#!/usr/bin/ksh
trap 'STATUS=$?;set +x;echo;echo error $STATUS at line nb $LINENO executing :\
`sed -n... (2 Replies)
Discussion started by: cool.aquarian
2 Replies
6. Shell Programming and Scripting
From below mentioned line,i have to display output as last word only ie:arch_1_105366_720809746.dbf
-rw-r----- 1 oracle dba 98887680 02 Mar 12:01 arch_1_105366_720809746.dbf
Please .. (5 Replies)
Discussion started by: Sanal
5 Replies
7. Shell Programming and Scripting
currently I have process from a raw file to this stage
ALTER TABLE "EXCEL_ADMIN"."TC_TXN_VOID" ADD CONSTRAINT "PK_TC_TXN_VOID" PRIMARY KEY ("TC_TXN_IID")
ALTER TABLE "EXCEL_ADMIN"."TC_TXN_AMT" ADD CONSTRAINT "PK_TC_TXN_AMT" PRIMARY KEY ("TC_TXN_AMT_IID")
ALTER TABLE... (10 Replies)
Discussion started by: jediwannabe
10 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
That is the last reply I received from my instructor, and I'm looking for some alternatives.
When using... (2 Replies)
Discussion started by: newuser45
2 Replies
9. UNIX for Dummies Questions & Answers
Hi guys -
I am trying to have a certain file display information horizontally divided by a pipe.
for example
file name: foo.dat has information like this:
name1
name2
name3
namenamename4
namene5
I would like it to display like this:
name1|name2|name3|namenamename4|namene5
... (6 Replies)
Discussion started by: DallasT
6 Replies
10. UNIX for Beginners Questions & Answers
Hi.
I have a command line that will generate exif data from .jpg files...
So to get the Camera Model I use:
find -iname "*.jpg" -print0 | xargs -0 exiftool -a | grep "Camera Model"
But I want the file name AND the camera model... How to I get the grep to give me TWO bits of information from... (2 Replies)
Discussion started by: TuftyDave
2 Replies
PLW3D(3plplot) PLplot API PLW3D(3plplot)
NAME
plw3d - Set up window for 3-d plotting
SYNOPSIS
plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)
DESCRIPTION
Sets up a window for a three-dimensional surface plot within the currently defined two-dimensional window. The enclosing box for the sur-
face plot defined by xmin, xmax, ymin, ymax, zmin and zmax in user-coordinate space is mapped into a box of world coordinate size basex by
basey by height so that xmin maps to -basex/2, xmax maps to basex/2, ymin maps to -basey/2, ymax maps to basey/2, zmin maps to 0 and zmax
maps to height. The resulting world-coordinate box is then viewed by an observer at altitude alt and azimuth az. This routine must be
called before plbox3(3plplot) or plot3d(3plplot). For a more complete description of three-dimensional plotting see the PLplot documenta-
tion.
Redacted form: plw3d(basex, basey, height, xmin, xmax, ymin, ymax, zmin, zmax, alt, az)
This function is examples 8,11,18,21.
ARGUMENTS
basex (PLFLT, input)
The x coordinate size of the world-coordinate box.
basey (PLFLT, input)
The y coordinate size of the world-coordinate box.
height (PLFLT, input)
The z coordinate size of the world-coordinate box.
xmin (PLFLT, input)
The minimum user x coordinate value.
xmax (PLFLT, input)
The maximum user x coordinate value.
ymin (PLFLT, input)
The minimum user y coordinate value.
ymax (PLFLT, input)
The maximum user y coordinate value.
zmin (PLFLT, input)
The minimum user z coordinate value.
zmax (PLFLT, input)
The maximum user z coordinate value.
alt (PLFLT, input)
The viewing altitude in degrees above the XY plane.
az (PLFLT, input)
The viewing azimuth in degrees. When az=0, the observer is looking face onto the ZX plane, and as az is increased, the observer
moves clockwise around the box when viewed from above the XY plane.
AUTHORS
Geoffrey Furnish and Maurice LeBrun wrote and maintain PLplot. This man page was automatically generated from the DocBook source of the
PLplot documentation, maintained by Alan W. Irwin and Rafael Laboissiere.
SEE ALSO
PLplot documentation at http://plplot.sourceforge.net/resources.
August, 2012 PLW3D(3plplot)