Visit Jeremy's Blog.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 05-07-2011, 04:43 PM   #1
Registered: May 2007
Posts: 100

Rep: Reputation: 15
BASH scripting - creating a map tree

Hi, looking to write a dependency map tree that creates a tree structure of object names . This tree will be written to a file and read back to create the tree structure of files .

Any ideas how to write this using bash ?
Old 05-08-2011, 04:52 AM   #2
LQ 5k Club
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,576
Blog Entries: 31

Rep: Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195Reputation: 1195
You will have to be specific about the input to this script and desired output before your question is answerable.

Shell scripting can be seen as automating commands entered at the command prompt so a good first step might be to ask yourself how you would do the task at a command prompt. It is often useful to try techniques at the command prompt while writing a shell script so you know the exact commands you want the script to generate.

People are more likely to help you here if you have tried to do it yourself and you post your attempt, explain why it is not what you want (if it is not obvious) and ask questions to clarify your uncertainty. LQ rarely writes people's scripts for them.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] BASH scripting, creating a custom service (CentOS) r3sistance Programming 9 05-08-2011 10:28 AM
Bash scripting, mysql, and creating tables. hondaman Linux - General 2 09-25-2005 05:17 AM
software for creating network map? andrewlkho Linux - Software 1 09-11-2003 01:37 PM
Creating an ISO from Source tree raypen Slackware 9 04-02-2003 04:15 PM
Creating ramdisk for directory tree. vaibhavk Linux - General 0 01-16-2002 11:29 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 07:31 PM.

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