#!/bin/bash
names= find /home/devuser -name 'BI*'
echo $names
for name in {names[@]}
do
echo $name
$var = $var$name
done
echo $var
Take the 2-minute tour
×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. It's 100% free, no registration required.
|
|||||
closed as unclear what you're asking by bahamat, manatwork, Chris Down, Anthon, Bernhard Dec 17 '13 at 11:23Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question. |
|||||
|
Hope it helps! |
|||||||||||||||||||||
|
Change
to
|
|||
|