chiark / gitweb /
[PATCH] udev - introduce format escape char
authorkay.sievers@vrfy.org <kay.sievers@vrfy.org>
Wed, 14 Jan 2004 02:34:33 +0000 (18:34 -0800)
committerGreg KH <gregkh@suse.de>
Wed, 27 Apr 2005 04:13:16 +0000 (21:13 -0700)
commit8ffb636f013a193688b132b8512e77b0747c41a1
tree1236ac40963c0ad6a239a872916017a7eb3ad07d
parente68faf511dd9be15a27042d1828460d3655707d8
[PATCH] udev - introduce format escape char

This patch adds a '%' to the format char list, so that a external
program may called with a non expanded '%' like:

  PROGRAM="/bin/date +%%s"

Olaf Hering asked for the feature.
A tricky test is also added :)
namedev.c
test/udev-test.pl