shell scripting
can some1 please tell me ....i am writing script to display type of file....and i m not able to get what "filename##*\." means?....please be brief in your explanation..thank you
the program is like:
for filename in$(ls)
do
ext=${filename##*\.}
case '$ext' in
Last edited by jamrodh singh; 02-27-2015 at 11:55 AM.
|