]> git.pld-linux.org Git - projects/rc-scripts.git/blame - t/backtick-test.sh
fix RC_LOGGING=no daemon --makepid --fork write proper pidfile
[projects/rc-scripts.git] / t / backtick-test.sh
CommitLineData
cd9ee56e
TP
1#!/bin/sh
2
3# from man sh:
4
5# NOTE: $(command) expressions are currently parsed by finding the matching paren-
6# thesis, regardless of quoting. This will hopefully be fixed soon.
7
8# this script file will finally tell when 'soon' comes
9
10a=1
11
12ret_old=`
13case $a in
14 0) echo "a=0";;
15 1) echo "a=1";;
16 *) echo "a!=[01]";;
17esac
18`
19
20ret_new=$(
21case $a in
22 0) echo "a=0";;
23 1) echo "a=1";;
24 *) echo "a!=[01]";;
25esac
26)
27
28echo "$ret_old vs $ret_new"
This page took 0.472099 seconds and 4 git commands to generate.