Delete a pattern from the beginning of a string
suggest changeShortest match:
$ a='I am a string'
$ echo "${a#*a}"
m a string
Longest match:
$ echo "${a##*a}"
string
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents