Com qualquer shell POSIX:
tab=$(printf '\t') # or tab=' ' # (a real tab character)
case $outline in
("#${tab}modified:"*) ...
esac
Com ksh93 , zsh ou bash :
case $outline in
($'#\tmodified:'*) ...
esac
ou:
if [[ $outline = $'#\tmodified:'* ]]; then...
A chave é:
-
*não deve ser citado, caso contrário, é usado literalmente. -
\tsó é expandido no tipo de cota$'...'(ou porprintfno argumento format)