[Gambas-user] Shell command help

Steve Starr comtux at ...626...
Wed Jan 4 23:02:05 CET 2006


shell"cat /proc/partitions"

Output:
   8     0    1007616 sda
   8     1    1007600 sda1
   3     0   33027622 hda
   3     1   14651248 hda1
   3     2   14651280 hda2
   3     3    3719047 hda3

Now i would just want to print the word hda to the screen.

Thanks for any help




More information about the User mailing list