- unified bashStatement, kshStatement and shStatement as much as possible - separated builtin commands from external programs - cleaned up kornshell flavor logic - fixed alias syntax highlighting - added test for bash alias syntax highlighting - removed daemon keyword closes: #18355 Signed-off-by: Bjoern Foersterling <bjoern.foersterling@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
21 lines
542 B
Bash
21 lines
542 B
Bash
#!/bin/dash
|
|
# Test file for vim the check () subshells
|
|
( cd ; $pwd ) | wc -c
|
|
( cd $1 ; $pwd ) | wc -c
|
|
( cd ${1} ; $pwd ) | wc -c
|
|
( cd ; $pwd ) | wc -c
|
|
( cd ${1:-.} ; $pwd ) | sed -e 's!$!/!' -e 's!//*$!/!'
|
|
( cd ; $pwd ) | wc -c
|
|
( cd ${1:+.} ; $pwd ) | wc -c
|
|
( cd ; $pwd ) | wc -c
|
|
( cd ${1:=.} ; $pwd ) | wc -c
|
|
( cd ; $pwd ) | wc -c
|
|
( cd ${1:?} ; $pwd ) | wc -c
|
|
( cd ; $pwd ) | wc -c
|
|
( cd $HOME ; $pwd ) | wc -c
|
|
( cd ${HOME} ; $pwd ) | wc -c
|
|
( cd ${HOME} ) | wc -c
|
|
((n=1+2))
|
|
# this is a syntax error, "let" is not a keyword in dash
|
|
let n=1+2
|