~emersion/mrsh

ref: job-control mrsh/test/loop.sh -rw-r--r-- 163 bytes
4b0435e6emersion wip: job control 2 years 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