LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Programming (https://www.linuxquestions.org/questions/programming-9/)
-   -   BASH scripting - creating a map tree (https://www.linuxquestions.org/questions/programming-9/bash-scripting-creating-a-map-tree-879390/)

nano2 05-07-2011 04:43 PM

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 ?

catkin 05-08-2011 04:52 AM

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.


All times are GMT -5. The time now is 12:55 AM.