##// 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,10 +1,10 b''
1 #!/bin/bash
1 #!/bin/sh
2 # http://www.selenic.com/mercurial/bts/issue352
2 # http://www.selenic.com/mercurial/bts/issue352
3
3
4 hg init foo
4 hg init foo
5 cd foo
5 cd foo
6
6
7 A=`echo -e -n 'he\rllo'`
7 A=`printf 'he\rllo'`
8
8
9 echo foo > "$A"
9 echo foo > "$A"
10 hg add
10 hg add
General Comments 0
You need to be logged in to leave comments. Login now