Search Results

Search: Posts Made By: TwelveDays
40,712
Posted By TwelveDays
Thank you very much felipe.vinturin. It does work...
Thank you very much felipe.vinturin. It does work perfectly. I was so close yet so far away.
It is amazing how a couple of () and a $ in the wrong place will break even the best scripts. :)

I did...
40,712
Posted By TwelveDays
Contents of the Cos-01.csv file: Adam,...
Contents of the Cos-01.csv file:

Adam, 2010-09-17 13:16:21, 2010-09-17 13:16:25, 7, 54, No , Yrd, , -80, 6, 0, 0. 0. 0. 0, 7, Paid,
John, 2010-09-17 13:16:21, 2010-09-17...
40,712
Posted By TwelveDays
Thank you very much felipe.vinturin. The only...
Thank you very much felipe.vinturin. The only thing that changed was it still lists only the last line that was grep'd but with a * in the brackets instead of a 1.

I also thank you for the link, I...
40,712
Posted By TwelveDays
Bash Scripting - How to grep a file into an array
I have figured out how to grep the file like this:
echo `grep $(date +'%Y-%m-%d') Cos-01.csv | cut -d',' -f1`

The above line does echo the correct information from the lines in which my search...
Showing results 1 to 4 of 4

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