~emersion/mrsh

ref: aa7d536d91b2e4bc6685ee979d40fcbf6d4dcbd2 mrsh/test/loop.sh -rw-r--r-- 163 bytes View raw
aa7d536dDrew DeVault Implement case clause 1 year, 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/sh

n=asdf
echo start
while [ "$n" != "fdsa" ]; do
	echo "n: $n"
	n="fdsa"
	echo "n: $n"
done
echo stop

# Should exit immediately
while true
do
	exit
done