Shell script - letter stat
There is "n" textfile as a parameter, i don't know how much file i will have. I have to make a matrix (on the screen) which contains the following, for example:
a 12 14 0
b 13 1 0
c 2 43 0
d 1 344 33
First row: All existing letter in ABC order
Second row: Letters in the first file
Third row: Letters in the second file
There is no lines like the following:
e 0 0 0
I mean if the text doesn't contain "e" it causes that this line of the matrix won't be written to the screen.
I have to make this Unix shell script for Hungarians, so i need á,é,í,ó,ú,õ letters in the stat. (with ISO-8859-2 code)
Does anybody have an idea?
Thank you in advance,