10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I have a file full of coordinates of the form:
37.68899917602539 58.07500076293945 57.79100036621094
The numbers don't always have the same number of decimal points. I need to reduce the decimal points of all the numbers (there are 128 rows of 3 numbers) to 2.
I have tried to do this... (2 Replies)
Discussion started by: crunchgargoyle
2 Replies
2. Shell Programming and Scripting
I have created a shell scrit to run the informatica workflows sequentially.In the script i am executing 7 workflows sequentially after running 4 workflows the scrpt getting stop and it is not continuing next step evn it is updating logs.4th workflow will take more time to finish is that making... (1 Reply)
Discussion started by: katakamvivek
1 Replies
3. Shell Programming and Scripting
Can any body help me to find out the logic
I have a script chkcomponent.pl Which give some output
Like
component1 userid: u1
component2 userid: u2
component3 userid: u1
.
.
#The no of components are different in different times run
Now I want this chkcomponent.pl script... (1 Reply)
Discussion started by: pareshpatra
1 Replies
4. UNIX for Dummies Questions & Answers
I have the following input:
xxxx-2.7.19_WR3
I have extract the following:
2.7.19
Can anyone suggest an awk or sed command to do the above...:confused:
another condition is
if the input is :
xxx-xxx_xxx-1.4-1_WR3.0bg.armv6jel_vfp
it shud still extract : 1.4-1
whenever "-"... (12 Replies)
Discussion started by: xerox
12 Replies
5. Shell Programming and Scripting
I need an awk script that returns the 1st field of the line in the middle of a file. For example, if a file I have has 6 lines, I want it to return the 1st field on line number 3. If a file has 7 lines, I want the script to return the 1st field on line number 4.
File1:
3 214
4 219
5 226
2... (8 Replies)
Discussion started by: jontjioe
8 Replies
6. Shell Programming and Scripting
I have a file with the information shown and I want to capture the
entry having the rgdt tag and taking the value (the location of the represents the decimal point, for example 0p50 represents 0.50)
I then want to divide the number at the end of each line by the value 0.50
I want to do... (7 Replies)
Discussion started by: kristinu
7 Replies
7. HP-UX
All,
I know this question has been asked , but mine is different scenario
I am unsing HP unix, trying to transfer HP-Unix to HP-Unix.
I am transfering a bunch of file form machine1 to machine2. when i intiate my FTP script the files are getting transfered from machine1 to machine2.... (7 Replies)
Discussion started by: arunkumar_mca
7 Replies
8. UNIX for Dummies Questions & Answers
Hello,
I have a command that I need to supply a negative number as a parameter; how do I do this? I have tried giving it with double quotes, "", but no avail.
Thanks,
Gussi (3 Replies)
Discussion started by: Gussifinknottle
3 Replies
9. Shell Programming and Scripting
I have a situation where I want the user to enter only numbers in response to a READ command. I have some validation to restrict the number to be between 1 and 12, but if the user type in some characters the script echoes some error message and goes to the next command. Below is a snippet of the... (1 Reply)
Discussion started by: pvar
1 Replies
10. Shell Programming and Scripting
Is there any way to makesure that the input from the user is all numbers?
thankz (5 Replies)
Discussion started by: XXXXXXXXXX
5 Replies