AlexF777
asked on
need to get 2 character day from date all the time
gfs1 Jax:alex /home/alex> CDA=`date | cut -c9-10`
gfs1 Jax:alex /home/alex> echo $CDA
5
gfs1 Jax:alex /home/alex>
Thanks in advance,
-Alex
gfs1 Jax:alex /home/alex> echo $CDA
5
gfs1 Jax:alex /home/alex>
Thanks in advance,
-Alex
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Tintin, which OS's date does not use leading zeros (I'm learning too)
Doh! What was I thinking!! Not sure how I got on to that line of thought.