annotate en/examples/bisect.commits.out @ 167:e67251ac336f
Small portability change. "grep -P" doesn't work on Debian.
author |
Bryan O'Sullivan <bos@serpentine.com> |
date |
Tue Mar 27 01:15:34 2007 -0500 (2007-03-27) |
parents |
4aecfa5c3ab0 |
children |
f8b5b782e150 |
rev |
line source |
bos@166
|
1 $ \textbf{buggy_change=37}
|
bos@166
|
2 $ \textbf{for (( i = 0; i < 50; i++ )); do}
|
bos@166
|
3 > \textbf{ if [[ $i = $buggy_change ]]; then}
|
bos@166
|
4 > \textbf{ echo 'i have a gub' > myfile$i}
|
bos@166
|
5 > \textbf{ hg commit -q -A -m 'buggy changeset'}
|
bos@166
|
6 > \textbf{ else}
|
bos@166
|
7 > \textbf{ echo 'nothing to see here, move along' > myfile$i}
|
bos@166
|
8 > \textbf{ hg commit -q -A -m 'normal changeset'}
|
bos@166
|
9 > \textbf{ fi}
|
bos@166
|
10 > \textbf{done}
|