LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
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.

Notices

Reply
 
Search this Thread
Old 05-07-2011, 04:43 PM   #1
nano2
Member
 
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
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Servers: Debian Squeeze and Wheezy. Desktop: Slackware64 14.0. Netbook: Slackware 13.37
Posts: 8,546
Blog Entries: 28

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
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.
 
  


Reply

Tags
bash


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


All times are GMT -5. The time now is 05:57 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration