[ Van Buggenhaut writes ]
> >...
> > calista:/home/ecki# for i in /dev/sda1 /dev/sda5 /dev/sda6 /dev/sda7; do
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
>
> bash lets you do great stuff : for i in /dev/sda{1,5,6,7} is faster
sh is pretty cool too, dont forget :-)
Get in the habit of using POSIX compliant syntax for shellscripts.
It will help everyone in the long run.
for f in /dev/sda[1567]