Hi,
I have a script where a variable has multiple lines.
How can i count the no. of lines in it in a script.
Ex: PIDS="1234
2345
3455"
PIDCNT=??????
Thanks
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.