![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| Shell Programming and Scripting Post questions about KSH, CSH, SH, BASH, PERL, PHP, SED, AWK and OTHER shell scripts and shell scripting languages here. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| parsing string in c | phani_sree | High Level Programming | 3 | 10-24-2007 03:54 AM |
| parsing url string | vanitham | Shell Programming and Scripting | 5 | 10-22-2007 06:48 AM |
| Need help on parsing string | magnacrazy | Shell Programming and Scripting | 13 | 03-31-2007 04:54 AM |
| Parsing string | rolex.mp | UNIX for Dummies Questions & Answers | 3 | 02-20-2007 01:28 PM |
| Need help parsing a string | achieve | Shell Programming and Scripting | 6 | 09-14-2006 12:03 AM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
||||
|
Date parsing into string, help!
I have a file that was created yesterday that I want to access...
daily.log2008-02-16 I am using... curr_time=`date +"%Y %m %d"` yesterday=`./datecalc.ksh -a $curr_time - 1` the value for yesterday is now "2008 2 16" in ksh, how do I transform the string "2008 2 16" into "2008-02-16" |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|