Dolphin06 wrote:
> Hello all,
>
> I would like to give a variable a value which have a format like this one:
> <3 letters>--
> should be yymmdd. Date of the day by default.
> How would i do this, i know the date command is date +"%y-%m-%d", but i dont
> know the syntax for mixing letters date a
nto one variable.
Also i would like to give the user a chance to change this default value, by
letting him enter one, so i would like to know how can i check if the
entered value is in the correct format.
Thank you for helping.
--
View this message in context:
http://www.nabble.com/Formating-variab