Thursday, May 16, 2019
How do you process the output of a command in the shell line-by-line?
Answer
Answer
I need to process the shared library dependencies of a library from a bash script. The for command processes word-by-word:
for DEPENDENCY in `otool -L MyApplication | sed 1d`
do
...
done
What is the way to process the results line-by-line?
Subscribe to:
Post Comments (Atom)
plot explanation - Why did Peaches' mom hang on the tree? - Movies & TV
In the middle of the movie Ice Age: Continental Drift Peaches' mom asked Peaches to go to sleep. Then, she hung on the tree. This parti...
-
When the left part is an object instance, you use -> . Otherwise, you use :: . This means that -> is mostly used to access instance m...
-
i've started to create my website, but now i have few doubts. I've searched, that MySqli object oriented is good to use beca...
-
I've been asked to update some Excel 2003 macros, but the VBA projects are password protected, and it seems there's a lack of docume...
No comments:
Post a Comment