All of lore.kernel.org
 help / color / mirror / Atom feed
* Test command
@ 2009-02-13 11:39 phcoder
  2009-02-13 11:39 ` [PATCH] " phcoder
  0 siblings, 1 reply; 8+ messages in thread
From: phcoder @ 2009-02-13 11:39 UTC (permalink / raw)
  To: The development of GRUB 2

Hello. Here is an implementation of bash-like "test" command. Many file 
tests are omitted because they are useless in grub (e.g. -c test). I 
also added 3 extension: lexicographical comparing, prefixed -gt and -lt 
(it skips common prefix. Useful for comparing versions. e.g. [ vmlinuz-3 
-plt vmlinuz-11 ] is true) and biased -nt/-ot which adds s specified 
amount of seconds to mtime.
Regards
Vladimir 'phcoder' Serbinenko



^ permalink raw reply	[flat|nested] 8+ messages in thread

end of thread, other threads:[~2009-04-25 12:29 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-13 11:39 Test command phcoder
2009-02-13 11:39 ` [PATCH] " phcoder
2009-04-10 22:18   ` phcoder
2009-04-11 10:07     ` Yoshinori K. Okuji
2009-04-11 15:11       ` phcoder
2009-04-14 15:55         ` Yoshinori K. Okuji
2009-04-16 13:15           ` phcoder
2009-04-25 12:29             ` Vladimir Serbinenko

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.