I checked that archive, is the Cisco 7010 (7000 Series) in there? I couldn't find it, they only named 7100 and above. Also, their Cisco 5505 is listed as a 5000 Series which is supposed to be 5505. Maybe I overlooked it...
Does anyone happen to have a stencil for this model, or 7000 series? I got the stencils off the Cisco site, but it seems to start around the 7100+ series. Unless I'm missing it in the list of routers. Also, same goes for the Cisco 5505. The stencil is present, however it's noted as a 5000...
(Korn Script on Sun Solaris)
I currently have a while loop which reads the file till EOF. The file contains file names that are to be searched. In the while statement, I noticed that korn shell does not treat the pipe, | , as it original is used.
For example -
while read tmpFiles
do...
I currently have a while loop which reads the file till EOF. The file contains file names that are to be searched. In the while statement, I noticed that korn shell does not treat the pipe, | , as it original is used.
For example -
while read tmpFiles
do
i=$i+1
tmpArray[i]=$tmpFiles...
I just found a way around it, probably very inefficient and time consuming :p But I just used an 'IF' statement, since for my case I needed to find files that contained both strings. As a result, I used a nested 'IF' statement.
if grep "stringhere" *.rcf *.txt #First String
then...
One more thing, is there a way to search for more than one string, where as the condition must be met or else return false?
I've read using '|' - grep "Yo|Me" * is how to search for multiple strings...
But it seems to act as an OR operator and not AND (I've tried & and &&). Is there...
I have a question. In Linux, grep -L would show the filenames of all files that didn't have the string I was searching for. Does SunOS have an equivilent to this? The closest I can see is -v, but that shows the entire body excluding the string and doesn't show the filenames(s).
Also, is...
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.