##// END OF EJS Templates
Use printf(1) instead of using bash-specific shell code....
Giorgos Keramidas -
r4292:b90e323a default
parent child Browse files
Show More
@@ -1,22 +1,22
1 #!/bin/bash
1 #!/bin/sh
2 2 # http://www.selenic.com/mercurial/bts/issue352
3 3
4 4 hg init foo
5 5 cd foo
6 6
7 A=`echo -e -n 'he\rllo'`
7 A=`printf 'he\rllo'`
8 8
9 9 echo foo > "$A"
10 10 hg add
11 11 hg ci -A -m m
12 12 rm "$A"
13 13
14 14 echo foo > "hell
15 15 o"
16 16 hg add
17 17 hg ci -A -m m
18 18
19 19 echo foo > "$A"
20 20 hg debugwalk
21 21
22 22 exit 0
General Comments 0
You need to be logged in to leave comments. Login now