shell - Reading from kshell output in same file -


i trying write kshell script displaying output , searching in output , displaying output.

i tried doing following:

cv = print "blah blah kir kanj"  read cv print "$cv" 

i think work. if output in form of table:

date         id         name    release 123           1          er       ererere   12            2          pr       irjj 

so if want search name = pr?

how can using same concept?

tried same concept doesn't work


Comments

Popular posts from this blog

rdbms - what exactly the undo information lives in oracle? -

bash - How do you programmatically add a bats test? -

clojure - 'get' replacement that throws exception on not found? -