Bug#358382: vim-common: ${X##Y} notation in a #! /bin/sh script is red-highlighted

Justin Pryzby justinpryzby at users.sourceforge.net
Wed Mar 22 14:47:11 UTC 2006


Package: vim-common
Version: 1:6.4-007+1
Severity: normal

/usr/share/bug/xserver-xorg/script has these kinds of things:
  XORGCONFIG_ROSTER="$CONFIG_AUX_DIR/${XORGCONFIG##*/}.roster" 

both dash(1) and posh(1) document ## syntax, so it seems to be
required by posix, and #! /bin/sh scripts should not highlight it as
invalid, right?

http://www.opengroup.org/onlinepubs/007908799/xcu/chap2.html#tag_001_006_002




More information about the pkg-vim-maintainers mailing list