martin c. richards
in case i forget
a journal, of things i'd like to remember.
Get file extension in Shell script
Simple way to get file extension:
F=MyText.txt
echo ${F#*.}
PRINT THIS POST
WORDS:
Notes: 18
View comments
9/18/11 — 8:47am
Short URL
:
http://tmblr.co/Z_I69x9fH4g8
Filed under
:
#bash
#unix
#linux
#scripting
emileeyou89
likes this
martinrichards
posted this
View the discussion thread
Blog comments powered by
Disqus
Previous post
Next post
Archive
RSS
ASK A QUESTION
This website uses the
NOTATIONS
theme by
Ben Delaney
, and is powered by
TUMBLR
.