Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

how to use print, pipe and getvar together?

11 views
Skip to first unread message

Khufu

unread,
May 26, 2011, 3:07:02 AM5/26/11
to
Hello. I know how to use

print "something" | "wc"

I also know how to do

"date" | getline var

Is there a way to use all of these?

words = "this is good"
print words | "wc" | getline var

where var has number of words?

I am sure this has been asked before, but I am short of effective
keyword to find this information from google.

0 new messages