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

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

c# - How do I get the Nth largest element from a list with duplicates, using LINQ? -

jsp - "Sending a redirect is forbidden after the response has been committed" in sendRedirect -