10-20-2010
wow... thanx so much. works smooth... you made my day
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hello All,
this script should use the command who, to log the Full Name, Date, and IP Address of the users who are connected to the system in a file called logfile. Excluding the user running the script.
the output in the log file is also sorted, id like to think my scripting is logical, but... (15 Replies)
Discussion started by: ibzee33
15 Replies
2. UNIX for Dummies Questions & Answers
I have 7 files with 7 different names coming into a specified folder on weekly basis, i need to pick a file one after another and load into oracle table using sql loader. I am using ksh to do this. So in the process if the file has error records and if sql loader fails to load into oracle tables,... (0 Replies)
Discussion started by: vpv0002
0 Replies
3. Shell Programming and Scripting
Hello Unix Gurus,
I need a few instuructions how to approach the following scenarios.For a given TABLENAME a script should display the following
structure on the screen.The structure should be as below.for a given perticular table.
SELECT *FROM TAB1 a JOIN
TAB1 b ON
... (0 Replies)
Discussion started by: kanakaraju
0 Replies
4. Shell Programming and Scripting
I'm trying to output the contents of the infile to the outfile using Append.
I will want to use append but the syntax doesn't seem to be working !
Input file (called a.txt) contains this:
a
a
a
b
b
b
I'm running shell script (called k.sh) from Unix command-line like this:
./k.sh .... (1 Reply)
Discussion started by: script_op2a
1 Replies
5. Shell Programming and Scripting
I need some help. I have a list of files (thousands) and would like to extract some variables from the file name and save that to a file
The list of files look like:
I am trying to write the following script but I am stuck at how I can get thevariables 'doy' and 'yr' from each file and then... (5 Replies)
Discussion started by: malandisa
5 Replies
6. Shell Programming and Scripting
Hi again,
What i'm trying to accomplish here is search a large directory for certain filesames, read from a txt file and looping through it.
For instance, one of my target names from the loop file is:
1ad55f47-c342-496b-a46d-ba7de0f1b434
My loop is constructed thusly, run in a directory... (2 Replies)
Discussion started by: Karunamon
2 Replies
7. Shell Programming and Scripting
I am trying to add a line to a BASH shell script to print out a large variable length table on a web page. I am very new to this obviously, but I tried this with awk and it prints out every line twice. What I am doing wrong?
echo "1^2^3%4^5^6%7^8^9%" | awk 'BEGIN { RS="%"; FS="^"; } {for (i =... (6 Replies)
Discussion started by: awknewb123
6 Replies
8. UNIX for Dummies Questions & Answers
Hi All,
Please could anyone advise what the purpose of the dot syntax in the following command means:
tar -cvf ${WORKING_BACKUP_ROOT}/${TAR_ARCHIVE_FILE} . >/${BACKUP_ROOT}/${ARCHIVE_LOG}
Many thanks (2 Replies)
Discussion started by: daveu7
2 Replies
9. UNIX for Dummies Questions & Answers
Hello All,
Here is seeking a bit of help in trying to solve a problem.
I am required to create a csv file as shown below:
output.csv ->
output_1,output_2,output_3,...,output_<N>
filename1:20,filename2:30,filename3:30,...,filename<N>:30
by listing output_1, output_2,... , output<N> as... (3 Replies)
Discussion started by: vkumbhakarna
3 Replies
10. Shell Programming and Scripting
Hello, I have a series of files in sub-directories that I want to loop through, process and name according to the input filename and the various parameters I'm using to process the files. I have a number of each, for example file names like AG005574, AG004788, AG003854 and parameter values like... (2 Replies)
Discussion started by: bdeads
2 Replies
LEARN ABOUT DEBIAN
tkspline
tkspline(3tk) Tk Spline - An additional smoothing method for canvas items tkspline(3tk)
__________________________________________________________________________________________________________________________________________________
NAME
spline, - additional smoothing method for canvas items.
SYNOPSIS
package require Tkspline
...
.c create line ... -smooth spline ...
.c create polygon ... -smooth spline ...
_________________________________________________________________
INTRODUCTION
The new option value: -smooth spline provides an additional smoothing method to line and polygon canvas items.
Spline smoothing will revert to the builtin smoothing method unless the number of points is 3n+1, where n is the number of spline segments.
(Normally in polygons this means 3n points because the last point of the spline is understood to be the same as the first in order to close
the polygon).
In line and polygon items, the curves generated with the standard -smooth true option have the following properties:
- the curve is always tangential to a straight line between consecutive points.
- the curve is only guaranteed to intersect the first and last points of lines.
- the curve is not guaranteed to intersect any points of polygons.
With -smooth spline (and the right number of coordinates) the curves generated have the following different properties:
- the curve is guaranteed to intersect the first point, and every third point after that.
- each segment of the curve shares endpoints with the adjacent segments, but is otherwise independent of them.
- the curve is guaranteed to be tangential to a line between n and n+1 at point n, and also to a line between n+2 and n+3 at point n+3.
- the curve is not guaranteed to be smooth at the junctions between segments unless the shared point and the points either side of it are
on a straight line.
These alternative properties are useful to some path planning algorithms.
CREDITS
The underlying Bezier code is in John Ousterhout's original canvas widget, this extension just provides an alternate interface to it. The
hooks into the canvas are provided by Jan Nijtmans in his "dash" patch.
KEYWORDS
spline, line, polygon, bezier, canvas, widget
AUTHOR
John Ellson, ellson@graphviz.org
Tk 8.0 tkspline(3tk)