[NTLUG:Discuss] verify that a text string is a valid date.

Richard Geoffrion ntlug at rain4us.net
Wed Feb 1 12:58:36 CST 2006


I'm trying to do something but I don't know what it is called.

I want to check to see if the first 10 characters of a file is a vaild  
date...eg  2006-02-01  and if it IS..then I want to continue the process.

What am I trying to do in bash(or other utility terms)?  I don't know 
the name of what I'm trying to do so I'm finding it difficult to search.

-- 
rtcg




More information about the Discuss mailing list