Re: [opensuse] alias failure



On 2007/07/28 13:42 (GMT-0700) joe apparently typed:

Felix Miata wrote:

I'm having no luck figuring out why

alias Vol='tune2fs -l $1 | grep volume'

causes a usage message when 'Vol /dev/hda7' is run. Can anyone explain what
I'm doing wrong, or provide a better method to discover a volume label?

That works fine here

It gets me exactly what I want from the command line, but fails as an alias.

- I'd be curious to know more about /dev/hda7

Leave off the grep filter? When I want to know if there is a volume label
set, I run tune2fs -l on the appropriate partition. Without a grep or less
filter, the only part of its output that I want scrolls offscreen before I
can see it.
--
"All scripture is God-breathed and is useful for teaching,
rebuking, correcting, and training in righteoousness."
2 Timothy 3:16 NIV

Team OS/2 ** Reg. Linux User #211409

Felix Miata *** http://mrmazda.no-ip.com/
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx



Relevant Pages

  • Re: Difference between a Command Button and a Label
    ... command button, as were the people from whom I borrowed the idea, so I ... You cannot place the focus on a label. ... "what happens if the users get used to one developer's colour coding ... If anyone would care to post this to a web site, ...
    (microsoft.public.access.forms)
  • Re: Difference between a Command Button and a Label
    ... for colored command buttons. ... You cannot place the focus on a label. ... Tom Ellison ... If anyone would care to post this to a web site, ...
    (microsoft.public.access.forms)
  • Re: TSO LINE COMMAND
    ... 1.Select the lineto copy by the C or CC/CC line command ... 'ISREDIT MACRO NOPROCESS' ... 'ISREDIT LOCATE FIRST lABEL' ... This e-mail, including any attachments, contains information ...
    (bit.listserv.ibm-main)
  • Re: Difference between a Command Button and a Label
    ... The idea of using a label as a command button has been around for quite some ... Up events to simulate the look of a command button when it is clicked. ... I also use standard graphics for custom navigation buttons, ... developer's colour coding and then are faced with a different set from ...
    (microsoft.public.access.forms)
  • very simple tkinter demo program

    (comp.lang.python)