rm -f $${subdir}/.gitignore ; \
rm -f $${subdir}/.arch-inventory ; \
rm -f $${subdir}/.DS_Store ; \
- rm -f $${subdir}/\#* ; \
- rm -f $${subdir}/.\#* ; \
+ rm -f $${subdir}/#* ; \
+ rm -f $${subdir}/.#* ; \
rm -f $${subdir}/*~ ; \
rm -f $${subdir}/*.orig ; \
rm -f $${subdir}/ChangeLog* ; \
return n;
}
-/^\#/ {
+/^#/ {
print;
next;
}
printf "0x%04X-0x%04X 0x%04X\n", from_code, to_code, from_unicode;
}
}
-
function gb_to_index(gb) {
b0 = int(gb / 256);
b1 = gb % 256;
- idx = (((b0 - 129)) * 191 + b1 - 64);
+ idx = (((b0 - 129)) * 191 + b1 - 64);
# if (b1 >= 128)
# idx--;
return idx
return (b0 * 256 + b1);
}
-/^\#/ {
+/^#/ {
print;
next;
}
printf "0x%04X-0x%04X 0x%04X\n",
index_to_gb(from_gb), index_to_gb(to_gb), from_unicode;
}
-
function gb_to_index(gb) {
b0 = int(gb / 256);
b1 = gb % 256;
- idx = (((b0 - 129)) * 191 + b1 - 64);
+ idx = (((b0 - 129)) * 191 + b1 - 64);
# if (b1 >= 127)
# idx--;
return idx
return sprintf("%02X%02X%02X%02X", b0, b1, b2, b3);
}
-/^\#/ {
+/^#/ {
print;
next;
}
}
}
}
-
(defun match-paren (arg)
"Go to the matching paren if on a paren; otherwise insert %."
(interactive "p")
- (cond ((looking-at "\\s\(") (forward-list 1) (backward-char 1))
- ((looking-at "\\s\)") (forward-char 1) (backward-list 1))
+ (cond ((looking-at "\\s(") (forward-list 1) (backward-char 1))
+ ((looking-at "\\s)") (forward-char 1) (backward-list 1))
(t (self-insert-command (or arg 1)))))
@end lisp
@example
cat file.xbm | xbm2ikon | compface > file.face
-cat file.face | sed 's/\\/\\\\/g;s/\"/\\\"/g;' > file.face.quoted
+cat file.face | sed 's/["\\]/\\&/g' > file.face.quoted
@end example
@noindent