[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7. Examples (various oneliner technique)


[ < ] [ > ]   [ << ] [ Up ] [ >> ]         [Top] [Contents] [Index] [ ? ]

7.1 Make shoot with commands

dmesg |
Read the dmesg's result with `*oneliner pipe*0'.

find ./ -name \*.c |1
Send the result which is list of finded c file names to `*oneliner pipe*1'.

And then remove some c file names from `*oneliner pipe*1'.

1| xargs grep main |
Do 'grep' by string 'main' from the list of file names in `*oneliner pipe*1', and then send the result to `*oneliner pipe*0'.

| grep key |
And furthermore, Do 'grep' by string 'key' to narrow the result.

seq -f 'get %g' 1 10 +|@+draft/1
Append the command strings which is to get from 1st to 10th mail archives to Mew's draft-buffer.

(notice: It was suppose the mailing-list-server 'fml'.)

@*Mew message*0| uudecode
Do 'uuencode' the text in Mew's message buffer.(The result file is saved on current directory.)


[ << ] [ >> ]           [Top] [Contents] [Index] [ ? ]

This document was generated by Kiyoka Nishiyama on December, 7 2003 using texi2html