Search Results

Search: Posts Made By: tmxps
22,134
Posted By tmxps
Thanks by your quick reply. however does not...
Thanks by your quick reply.

however does not work if i make
set ppl_kn = 7.1
set ppl_wb = 6.8
or
set ppl_kn = 7,1
set ppl_wb = 6,8

The numbers i need to compare are not integers.

Thanks...
22,134
Posted By tmxps
compare decimal numbers
Hi anyone,

i need to compare two decimal numbers

i thought that it could be do it with if but... :(

So, i'm writing in csh and i really apreciate if anyone can help me

if ( $ppl_kn <=...
2,493
Posted By tmxps
Thanks, it worked! :)
Thanks, it worked! :)
2,493
Posted By tmxps
Problem with "set" and "awk"
Hi,

i'm programming on /bin/csh and i need to get the number extracted by this:

set ppl_kn = $(awk '{ field = $6 } ; END{ print field }' < ppl_LM_kn.ppl )

and the output is: "Illegal...
43,853
Posted By tmxps
delete blank lines with sed
I have a text file with blank lines fullfilled with spaces and others only containing the "Enter" caracter, the \012.

I would like to eliminate all them with the sed command.

Is it possible?
...
2,156
Posted By tmxps
Certainly basic doubt about IF
On the below "IF" i test if the user have put the first argument.
I also would like to test if the user have written a second argument.
So, my doubt is:
- How can i evaluate 2 conditions on...
109,935
Posted By tmxps
yes ok, but that makes a substitution on all the...
yes ok, but that makes a substitution on all the charaters that tr find.

i only want to substitute the cases that the character '-' is between letters.

Thanks.
109,935
Posted By tmxps
replace character with tr
Hi,

i would like substitute the words containing the character "-" by any other.

i've already tried the tr command: tr '[a-z]\-[a-z]' '[a-z]X[a-z]', for example.

But, this command doesn't...
Showing results 1 to 8 of 8

 
All times are GMT -4. The time now is 10:30 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy