On 12Jan2012 20:34, Mark LaPierre <marklap...@aol.com> wrote:
| or you could do:
| 
| nodevs=`fgrep rootfs /proc/filesystems`
| 
| The only problem is that putting the command inside ticks launches a
| child process that consumes additional resources.

Shrug. So does:

  nodevs=$(fgrep rootfs /proc/filesystems)

The:

  <foo command [args...]

form is handy for programmatically constructed pipelines, too.

Cheers,
-- 
Cameron Simpson <c...@zip.com.au> DoD#743
http://www.cskk.ezoshosting.com/cs/

When in doubt, gas it. It may not solve the problem, but it ends the suspense.
        - Steve Moonitz (92 Ducati 900ss) <ste...@ew.timeinc.com>
-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org

Reply via email to