Tirsdag 18 desember 2007 23:32, skrev Michael De Groote: > uhm, isn't there a escaped dot (\.) on this line: (between the part > that should match decimals (\d+) > > > ($line =~ /^\d+\s+(\d+\.\d{3})\s+(\d+\.\d{3})\s+(primary|logical| > > wheras in the output from parted there are comma's ? > > > 1 32,3kB 12,5GB 12,5GB primary ntfs boot > > how can it match in this case?
Well, something has changed, probably the output from parted. hm, the output can be specified: parted -s /dev/sda unit B print 1 32256B 12469524479B 12469492224B primary ntfs boot parted -s /dev/sda unit kB print 1 32,3kB 12469524kB 12469492kB primary ntfs boot ------------------------------------------------------------------------- SF.Net email is sponsored by: Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace _______________________________________________ unattended-devel mailing list unattended-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/unattended-devel