Search Results

Showing results 1 to 3 of 3
Search took 0.01 seconds.
Search: Posts Made By: lanepds
Forum: Shell Scripting Jun 26th, 2009
Replies: 3
Views: 1,214
Posted By lanepds
Thanks! That's much better than my caveman solution.
Forum: Shell Scripting Jun 26th, 2009
Replies: 3
Views: 1,214
Posted By lanepds
Ok, I figured out a way to do this. It's not elegant, but it managed to get the job done.

What I did was echo the $MYDATESTAMP variable from bash into a file named mydatestamp.txt and had a tiny...
Forum: Shell Scripting Jun 26th, 2009
Replies: 3
Views: 1,214
Posted By lanepds
I have defined a variable in bash

$ MYDATESTAMP="2009-06-25 21:57:18"

I would like to pass this to perl to perform a simple date conversion.

If I enter the date manually it works.
$ perl...
Showing results 1 to 3 of 3

 


About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC