Search Results

Search: Posts Made By: MadeInGermany
Forum: HP-UX 04-02-2015
5,333
Posted By MadeInGermany
As you said, a "\" after "|" does not make a...
As you said, a "\" after "|" does not make a functional difference.
Is your searchstring.out file okay?
Look at it with an editor on Unix.
Not created from WinDOS that appends invisible ^M (CR)...
Forum: HP-UX 04-01-2015
5,333
Posted By MadeInGermany
No, j is a variable. The whole outer loop is...
No, j is a variable.
The whole outer loop is fed from searchstring.out, see the redirection at the end!

The inner loop is fed from the find command. The | conects the find command with the loop.
Forum: HP-UX 04-01-2015
5,333
Posted By MadeInGermany
A second error is for k in match.out ;You...
A second error is
for k in match.out ;You certainly want
for k in `cat match.out`like you did in the outer loop.
But this is not ideal for many reasons. A more efficient and less risky version:...
Forum: HP-UX 04-01-2015
5,333
Posted By MadeInGermany
The * must be evaluated by the find command, you...
The * must be evaluated by the find command, you must escape it from the shell.
find / -name \*$j\*
where the $j is still evaluated by the shell. If this is not wanted, use a " " escape.
find /...
Showing results 1 to 4 of 4

 
All times are GMT -4. The time now is 09:00 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy