linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* RE: %c option does not handle LF as a seperator
@ 2004-03-03  0:36 Sabharwal, Atul
  2004-03-03  0:42 ` Greg KH
                   ` (11 more replies)
  0 siblings, 12 replies; 13+ messages in thread
From: Sabharwal, Atul @ 2004-03-03  0:36 UTC (permalink / raw)
  To: linux-hotplug

 
> Greg,
> 
> There is a problem with %c as it only accepts the space de-limitted
> fields. The last
> Field may be <LF> delimitted rather than space de-limitted. 
> 
> I am not able to reference the last field. My rules is like
> 
> BUS="scsi", PROGRAM="/sbin/scsi_id", RESULT="SSEAGATE ST318436LW
> 3BM07NKA000070456Z6B", 
>   NAME="disk-sda-%c{3}"
> 
> %c{1} & %c{2} options in NAME key work fine. %c{0} gives whole string
> and %c{3} does not work
> Although it should return the serial number.

--
Atul


-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id\x1356&alloc_id438&opÌk
_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
Linux-hotplug-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel

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

end of thread, other threads:[~2004-03-04 22:51 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-03-03  0:36 %c option does not handle LF as a seperator Sabharwal, Atul
2004-03-03  0:42 ` Greg KH
2004-03-03  0:46 ` Kay Sievers
2004-03-03  0:51 ` Sabharwal, Atul
2004-03-03  1:02 ` Kay Sievers
2004-03-03  1:06 ` Sabharwal, Atul
2004-03-03  1:14 ` Patrick Mansfield
2004-03-03  1:23 ` Sabharwal, Atul
2004-03-03  1:32 ` Sabharwal, Atul
2004-03-03  1:59 ` Kay Sievers
2004-03-03  2:28 ` Sabharwal, Atul
2004-03-04 12:05 ` Hannes Reinecke
2004-03-04 22:51 ` Patrick Mansfield

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).