All Questions
2 questions
-1
votes
1
answer
65
views
Output of loop variable shows different value than expected
Imagine I have two folders in my current working directory: back/ and front/. I am trying to enter inside each of them and do some stuff. From the simple script below:
for dir in */ ; do
echo &...
0
votes
2
answers
1k
views
for loop variable assignment with whitespaces
Im collecting the LPAR names and assigning to a variable on AIX , Then using multiple commands for processing.
LPAR Names on the system are : ABCD56777 TSM Mobile CD CPT 2
for lparname in `...