How to redirect the output to a buffer/clipboard ?

Hi,
I was wondering if there is a way by which I can redirect the output of a command to the buffer so that if I do a Ctrl+v or Alt+v it should paste the data.

Ex : cat myfile.txt | grep hello .

Hello there 1
Hello there 2

The output of the file should go to the buffer(clipboard info) so that when paste it in another application this data should be pasted

Hello there 1
Hello there 2

I use HP-UX 9000

Please let me know.

Thanks and Regards,
Gideon.

i think tihs migh be of help
but i never used it
man xcutsel(1)