in reply to Filterint information from external commands
#!/usr/bin/perl use strict; use warnings; for (`parted /dev/sdb print`) { next if /^Model/; # Don't print model line print; } [download]
Have a nice day, j