Hello,
Can I use the tr command to translate the date format?
Suppose I have a file "date". The contents are only this:
09/12/2002
Can I use the tr command to change this to:
12-09-2002
If so, could somebody point me in the right direction? Any help much appreciated. As you can see this is a date, and it will be changing daily. Is there a way to make tr see that this is a date and change the format?
Or should I be using a different tool alltogether?
Can I use the tr command to translate the date format?
Suppose I have a file "date". The contents are only this:
09/12/2002
Can I use the tr command to change this to:
12-09-2002
If so, could somebody point me in the right direction? Any help much appreciated. As you can see this is a date, and it will be changing daily. Is there a way to make tr see that this is a date and change the format?
Or should I be using a different tool alltogether?