chiark / gitweb /
xterm-title: Not all printf implementations (e.g. HP-UX) support \e.
authorColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 21 Jan 2003 10:37:18 +0000 (10:37 +0000)
committerColin Watson <cjwatson@chiark.greenend.org.uk>
Tue, 21 Jan 2003 10:37:18 +0000 (10:37 +0000)
xterm-title

index b408bfc..1fcea56 100755 (executable)
@@ -1,2 +1,2 @@
 #! /bin/sh
-printf '\e]0;'"$*"'\a'
+printf '\033]0;'"$*"'\a'