Click here to Skip to main content
15,891,976 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hi,

i am new for unix. i am using ubuntu.
plz help me to solve the shellscript

i want to run a shellscript which work on calender

problem:

i want to replace the current date with * or ** depending on below condition:
1) if today's date have single digit then it must be replace by *.
2) if today's date have two digit then it must be rplace by **.
3) if suppose todays data is 10th then in year 2010 10 must not replace by **.

thanks in advance...
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900