summary refs log tree commit diff
path: root/bin/cash/tests/expansion/trim7.0
blob: 0bea44f7d85745d67f2bc8bc42afcd2d9c42bc72 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# $FreeBSD: releng/12.0/bin/sh/tests/expansion/trim7.0 219623 2011-03-13 20:02:39Z jilles $

set -- 1 2 3 4 5 6 7 8 9 10 11 12 13
[ "${##1}" = 3 ] || echo '${##1} wrong'
[ "${###1}" = 3 ] || echo '${###1} wrong'
[ "${###}" = 13 ] || echo '${###} wrong'
[ "${#%3}" = 1 ] || echo '${#%3} wrong'
[ "${#%%3}" = 1 ] || echo '${#%%3} wrong'
[ "${#%%}" = 13 ] || echo '${#%%} wrong'
set --
[ "${##0}" = "" ] || echo '${##0} wrong'
[ "${###0}" = "" ] || echo '${###0} wrong'
[ "${###}" = 0 ] || echo '${###} wrong'
[ "${#%0}" = "" ] || echo '${#%0} wrong'
[ "${#%%0}" = "" ] || echo '${#%%0} wrong'
[ "${#%%}" = 0 ] || echo '${#%%} wrong'
fdf0c39ee01d0eff387a1da9dc8980f&follow=1'>Add shiftround optionJune McEnroe 2012-02-25Add ,z mapping to toggle spellJune McEnroe 2012-02-13Add badwolf colorschemeJune McEnroe 2012-02-11Customize C/C++ indentationJune McEnroe 2012-02-07Update Powerline to 'develop' branchJune McEnroe 2012-02-07Add Solarized colorschemeJune McEnroe 2012-02-07Add back set nocompatible, even though it seemed to end up set anywayJune McEnroe 2012-02-05Update jellybeansJune McEnroe 2012-02-02Update itchy.vimJune McEnroe 2012-02-02Add mapping to toggle relative/absolute numberingJune McEnroe 2012-02-02Add itchy.vimJune McEnroe 2012-02-01Revert "Add ShowMarks plugin"June McEnroe 2012-02-01Add ShowMarks pluginJune McEnroe 2012-02-01Update Vim-Tomorrow-ThemeJune McEnroe 2012-02-01Add vim-markdownJune McEnroe 2012-02-01Add tabular.vimJune McEnroe 2012-02-01Update Vim-Tomorrow-ThemeJune McEnroe 2012-01-30Disable menu bar in GVimJune McEnroe 2012-01-30Set shiftwidth to 4 for LuaJune McEnroe 2012-01-29Don't show Syntastic errors automaticallyJune McEnroe 2012-01-28Update to Quicktask 1.1June McEnroe 2012-01-22Use space-test branch of quicktaskJune McEnroe 2012-01-22Enable syntax-based foldingJune McEnroe 2012-01-22Update quicktaskJune McEnroe 2012-01-22Revert "Add AutoClose"June McEnroe 2012-01-22Revert "Disable powerline for now"June McEnroe 2012-01-22Revert "Add VCS repo directories to wildignore"June McEnroe 2012-01-22Disable powerline for nowJune McEnroe 2012-01-22Update some pluginsJune McEnroe 2012-01-22Add VCS repo directories to wildignoreJune McEnroe 2012-01-22Map ,e and ,b to CtrlP file and buffer respectivelyJune McEnroe 2012-01-22Add vim-spaceJune McEnroe 2012-01-22Add AutoCloseJune McEnroe 2012-01-22Add binding for GundoJune McEnroe 2012-01-22Add GundoJune McEnroe 2012-01-22Add Jellybeans colorschemeJune McEnroe 2012-01-22Add syntasticJune McEnroe 2012-01-21Add PowerlineJune McEnroe 2012-01-21Add quicktaskJune McEnroe 2012-01-15Moved comments out of mapsJune McEnroe 2012-01-14Disable scrollbarsJune McEnroe