FG

How to place the output of find in to an array

Fresh3 days ago
Mar 15, 202622644 views
Confidence Score0%
0%

Problem

I am a newbie in Unix. I have a requirement in which I have to put the output of find statement in array because later in the script I have to use the output lines one by one. My find statement will retrieve me the location of directories based on the condition. Here are the find statements:

Error Output

find blah -mindepth 3 -maxdepth 3 -type d  -regex ".*/V[0-9]+/wsdls+"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to place the output of find in to an array

Low Risk

You can do this:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment