This program looks through a dir and shows what tyes they are and inserts the results into a file called "holdfile". The problem is in order to get the program to run I have to press ENTER twice and then CTRL-D for the command prompt to come up and program to finish. Any possible reason why?
nawk '
homed = home "/" user
{if (ctr<1){system("file dirs* ")}}
fi
++ctr
' $homed > holdfile
Thank you,
Keith
nawk '
homed = home "/" user
{if (ctr<1){system("file dirs* ")}}
fi
++ctr
' $homed > holdfile
Thank you,
Keith