Hi.
I'd like to write some script in shell that will display final report but will map digits to Text.
Let me explain that:
Assume I have file which is result of some operation like example:
YYMMDDHHMMSS 5 10 5 2
YYMMDDHHMMSS 6 9 4 2
Now.
You see there are 5 columns.
In colums 2-5 there is possible different digits which can have defined description in text.
Like column 2:
5 -> Text
6 -> Text1
Column 3:
10 -> Text2
9 -> Text 9
etc....
How I can than display it to have like that:
YYMMDDHHMMSS Text Text2 ... ...
YYMMDDHHMMSS Text1 Text9 ... ...
I'd like to write some script in shell that will display final report but will map digits to Text.
Let me explain that:
Assume I have file which is result of some operation like example:
YYMMDDHHMMSS 5 10 5 2
YYMMDDHHMMSS 6 9 4 2
Now.
You see there are 5 columns.
In colums 2-5 there is possible different digits which can have defined description in text.
Like column 2:
5 -> Text
6 -> Text1
Column 3:
10 -> Text2
9 -> Text 9
etc....
How I can than display it to have like that:
YYMMDDHHMMSS Text Text2 ... ...
YYMMDDHHMMSS Text1 Text9 ... ...