nareshbabu
Programmer
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
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