Search Results

Search: Posts Made By: mdlloyd7
10,206
Posted By mdlloyd7
Merging rows with same column 1 value
I have the following space-delimited input:
1 11.785710 117.857100
1 15 150
1 20 200
1 25 250
3 2.142855 21.428550
3 25 250
22 1.071435 10.714350

The first field is the ID number, the...
1,357
Posted By mdlloyd7
It is an "ell" -- so I think that is good. I'm...
It is an "ell" -- so I think that is good. I'm new to shell/bash, so forgive my ignorance, but how do I check to see if my bash has the strftime built in?

thanks
1,357
Posted By mdlloyd7
inconsistent output using date()
I have an input list of:



I am just trying to turn this list into its seconds since epoch "+%s" time equivalent. I'm trying to use the following, but every time I run the command it gives me...
2,968
Posted By mdlloyd7
thank you!
thank you!
2,968
Posted By mdlloyd7
Multiple columns to a single column
I have this input:
10 22 1 100
11 22 10 1 50
14 3 1 100
23 3 1 100
24 15 1 100
10 22 5 3 1 33.333
11 22 1 100

It has an inconsistent number of fields but the last field is determined...
1,184
Posted By mdlloyd7
Thank you!
perfect. thank you.
1,184
Posted By mdlloyd7
Indirect Referral Script
I have a file with two columns of numbers (member IDs):

1 1
2 1
3 1
4 2
5 4
6 1
7 5
8 3
9 2

Think of column 1 as the referee and column 2 as the referrer.

Is there a good way to...
Showing results 1 to 7 of 7

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