summary refs log tree commit diff
path: root/src/hetio.h
diff options
context:
space:
mode:
authorHerbert Xu <herbert@gondor.apana.org.au>2007-09-24 16:22:25 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2007-09-24 16:22:25 +0800
commitdd721f71292be8ae2ef0ac1d2d8910b1541dcf88 (patch)
tree17c4fecd06f5e6e90308537d7d05a7703504d3b4 /src/hetio.h
parent[EXPAND] Do not quote back slashes in parameter expansions outside quotes (diff)
downloaddash-dd721f71292be8ae2ef0ac1d2d8910b1541dcf88.tar.gz
dash-dd721f71292be8ae2ef0ac1d2d8910b1541dcf88.zip
[EXPAND] Perform tilde expansion in all parameter expansion words
Previously tilde expansion was not carried out for =?#% expansion words.
This is contrary to the POSIX specification.

Test case:

	a=~root:~root
	echo ${a#~root}

Old result:

	/root:/root

New result:

	:/root
Diffstat (limited to 'src/hetio.h')
0 files changed, 0 insertions, 0 deletions
n/1sh/test.c?id=fee59c2271f1d403238ca7da908a537c53a5e264&follow=1'>Replace __printflike with __attribute__((format(printf, ...)))June McEnroe sed -E 's/__printf0?like[(]([^,]+), ([^)]+)[)]/__attribute__((format(printf, \1, \2)))/' 2020-06-08Replace __dead2 with __attribute__((noreturn))June McEnroe sed 's/__dead2/__attribute__((noreturn))/' 2020-06-08Replace __FBSDID macros with commentsJune McEnroe sed -E 's|__FBSDID[(]"([^"]+)"[)];|/* \1 */|' 2020-06-08Remove reference to FreeBSD-specific libedit hackJune McEnroe Newer versions of libedit have sane tab-complete now without FreeBSD's hacks, and in fact the hack is gone in FreeBSD-CURRENT. I'm still a little confused why binding this weird function is necessary at all, but at least it exists everywhere, I guess. 2020-06-08Prefix mandoc with exec in about-filterJune McEnroe 2020-06-07Remove mktemp options from mkbuiltins, mktokensJune McEnroe Why even? 2020-06-07Cast z_stream fields to size_tJune McEnroe In the version of zlib in OpenBSD, these fields are of type off_t, which is signed (why?), rather than uLong. 2020-06-07Call static_assert by _Static_assertJune McEnroe OpenBSD doesn't #define static_assert in assert.h and _Static_assert is its real name I guess so why not? 2020-06-07Add OpenBSD to install.shJune McEnroe Straightforward. 2020-06-03Add The Song of AchillesJune McEnroe 2020-06-01Allow redirecting input in everJune McEnroe 2020-05-31Add %c conversion to c scriptJune McEnroe 2020-05-31Add c script to READMEJune McEnroe 2020-05-31Add c scriptJune McEnroe 2020-05-31Update mdoc source URLsJune McEnroe 2020-05-26Remove unfinished PSF fontsJune McEnroe