summary refs log tree commit diff
path: root/bin/cash/tests/expansion/export1.0
blob: 0547499287c750a230be5bced9546c2fa2445019 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# $FreeBSD: releng/12.0/bin/sh/tests/expansion/export1.0 238430 2012-07-13 22:29:02Z jilles $

w='@ vv=6'

v=0 vv=0
export \v=$w
[ "$v" = "@" ] || echo "Expected @ got $v"
[ "$vv" = "6" ] || echo "Expected 6 got $vv"

HOME=/known/value

export \v=~
[ "$v" = \~ ] || echo "Expected ~ got $v"
roe 2020-12-31Add ddateJune McEnroe 2020-12-30Print octal for 8 bits in bitJune McEnroe 2020-12-30Add unary & to bitJune McEnroe 2020-12-30Support unary + in orderJune McEnroe 2020-12-30Add postfix $ operator to bitJune McEnroe 2020-12-29Add make lexerJune McEnroe 2020-12-29Clean up C lexerJune McEnroe 2020-12-29Clean up hilex code somewhatJune McEnroe 2020-12-29Match lex/yacc %% %{ %} lines as MacroJune McEnroe 2020-12-29Match top-level C definitions as IdentifierTagJune McEnroe 2020-12-29Match C type declarations as IdentifierTagJune McEnroe 2020-12-29Match function-like macro definitions as IdentifierTagJune McEnroe 2020-12-29Reconfigure C macro start conditionsJune McEnroe 2020-12-29Document HTML class namesJune McEnroe 2020-12-29Rename Tag class to IdentifierTagJune McEnroe 2020-12-29Change HTML class from hi to hilexJune McEnroe 2020-12-29Add hilex HTML outputJune McEnroe