LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Closed Thread
  Search this Thread
Old 06-07-2010, 06:15 AM   #1
AshishJogeshwar
LQ Newbie
 
Registered: Dec 2009
Posts: 12

Rep: Reputation: 0
Pipelining data of find command in an array after processing the contents of the data


Hi

I am searching for a file in a specific folder using the following command and storing it in a log file

find . -maxdepth 2 -type f -name "components.xml" -print | while read obj
do
basename `dirname $obj` >> avail_list.log
done


Here i want to do the following
1. Store each entry after processing in an array variable.
2. Use this array variables as arguments to function calls.

Here my primary objective is to store the entries from 'find' command in an array.

Regards,
Ashish
 
  


Closed Thread



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Perl .check if data are exist in the array before adding new data ufmale Programming 12 07-14-2010 05:26 AM
Pipelining data of find command in an array after processing the contents of the data AshishJogeshwar Linux - Software 5 06-10-2010 01:52 AM
Data Processing help required sunils1973 Programming 4 10-02-2007 04:57 AM
Processing data from a 'foreign' database with mysql, or tools to pre-process data. linker3000 Linux - Software 1 08-14-2007 08:36 PM
Data Processing joelhop Linux - General 8 01-01-2006 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration