This is how far I have got, but it still doesnt do what it is supposed to
The code is to be written on KornShell and has to be done command line and
menu form, im trying to do the menu code first
then the command line will be simpler.
The question is:
for each file in the directory <dir_name>, display its name, together with
the word file if it is a normal file,
dir if it is a directory or other if it is neither a normal file nor a
directory, and the word readable if the file is readable by
the current user. For example, a typical output might be:
fool.c file readable
foo2.c file
foo3 other readable
progs dir readable
finfo inserted code tags for readability --oombera