#!/bin/bash FILE="/usr/local/var.piyo/hoge.piyo" # å é ãã = # # æååã®å é ãããæåã«ä¸è´ãããã¿ã¼ã³ãåãé¤ã (${VAR#pattern}) echo ${FILE#*.} # => piyo/hoge.piyo echo ${FILE#*/} # => usr/local/var.piyo/hoge.piyo echo ${FILE#*a} # => l/var.piyo/hoge.piyo # æååã®å é ãããæå¾ã«ä¸è´ãããã¿ã¼ã³ãåãé¤ã (${VAR##pattern}) echo ${FILE##*.} # => piyo echo ${FILE##*/} # => hoge.piyo echo ${FILE##*a} # => r.piyo/hoge.piyo # æ«å°¾ãã = % # æååã®æ«å°¾ãããæ
{{#tags}}- {{label}}
{{/tags}}