Search Results

Search: Posts Made By: jdsony
8,861
Posted By jdsony
fantasitc. that works out ahamed. thanks for your...
fantasitc. that works out ahamed. thanks for your time and adivse.

regards

---------- Post updated at 06:25 PM ---------- Previous update was at 06:21 PM ----------

Hi Corona688,

...
8,861
Posted By jdsony
thanks for the reply. i tried the both and here...
thanks for the reply. i tried the both and here is the outcome:
printf("%10f", x) i am getting something like this:
1026780823.850019bash-2.03$
two problems here.
i don't know why that $ prompt...
8,861
Posted By jdsony
sum in exponential form
Hello guys,

i have got a flat file and it has got balance amount value as one of its fields. my mission is to add the total of those balance values. i am getting that but the result is coming up...
1,667
Posted By jdsony
Hi Birei, thank you. $ cut -d"|" -f10...
Hi Birei, thank you.
$ cut -d"|" -f10 standard_csv_file1.out | awk '{ x += $1 } END { print "Sum: " x }' it works mate. CarloM, thanks nawk too works. thank you both.
1,667
Posted By jdsony
thanks for the responses guys. the cut command...
thanks for the responses guys. the cut command doesn't work as well unfortunately. i am working on solaris. it seems gawk doesn't work on it but nawk works on it. could you please tell me the...
1,667
Posted By jdsony
difficulty with awk
hello folks,

i am stuck with this awk command. i need to calculate the sum of a column of values on a flatfile and i am using the following command :

awk -F"|" '{x += $10} END {print...
3,362
Posted By jdsony
thanks for the explanation mate. now it makes...
thanks for the explanation mate. now it makes sense to me. thanks a lot.
3,362
Posted By jdsony
agama and ahamed101, thank you both. -f tip is...
agama and ahamed101, thank you both. -f tip is very useful as well.

regards
3,362
Posted By jdsony
Fantastic mate. i was looking for the second...
Fantastic mate. i was looking for the second option and it works out for me. thanks a lot. but when i use the mv command, it is asking me whether to move it or not. can't we stop the shell asking...
3,362
Posted By jdsony
writing the timestamp to as a header in a file
hello mates,

this is my first post. please help me out. i have got a file with some data in it. i am asked to write the timestamp as a header for that file. i mean the time the file...
Showing results 1 to 10 of 10

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