[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: hdparm script



Boris Duerner wrote:
^^^^^^^^^^^^^ 
> regards,
> Marc
  ^^^^
Huh? :)

> I wasn't able to find a better way of parsing hdparm.conf without an 
> extra C program or script, so it only supports hda - hdd.

I guess using ${!foo} would help, which takes the content of the
variable foo and uses that as the variable to get the content from, i.e.

foo=PATH
echo ${!foo}

would print your PATH...
-- 
Kurt Bernhard Pruenner          Telefon: 0732/2468-7135
Techniker Gr. Systemsoftware    Fax:     0732/2468-7138

np: Vladislav Delay - Huone (Multila)



Reply to: