Mercurial > vim
comparison runtime/syntax/testdir/input/sh_05.sh @ 32651:d1d7d489de7f v9.0.1657
patch 9.0.1657: one more syntax test depends on the system
Commit: https://github.com/vim/vim/commit/79186bee785081322c198f0074cb1f2d07764eb6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Jun 24 01:35:51 2023 +0100
patch 9.0.1657: one more syntax test depends on the system
Problem: One more syntax test depends on the system.
Solution: Use "dash" instead of "sh".
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 24 Jun 2023 02:45:03 +0200 |
parents | f8a2fc7d823f |
children | 448aef880252 |
comparison
equal
deleted
inserted
replaced
32650:018c3cbd1d3d | 32651:d1d7d489de7f |
---|---|
1 #!/bin/sh -x | 1 #!/bin/dash -x |
2 # sh5 | 2 # sh5 |
3 # Note that this is special for sh. ksh will be an extra file later. | 3 # Note that this is special for sh. ksh will be an extra file later. |
4 # Note too, that sh and ksh allow ${var:-sub} as well as ${var-sub}! | 4 # Note too, that sh and ksh allow ${var:-sub} as well as ${var-sub}! |
5 # The ':' is optional! | 5 # The ':' is optional! |
6 | 6 |