The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

DOCUMENTATION

SYNOPSIS

PROGRAM NAME: sudoc2pm_pt1.pm

 AUTHOR: Juan Lorenzo
 DATE:   Jan 25 2018 
 DESCRIPTION: generate (1) package for sunix module
                          and (2) configuration file for the same sunix module
 Version: 1.0.0
 1.1 May 2021: updated file searches in directories

USE

Build new files: ~/configs/"program_group_name"/"module".config ~/sunix/"program_group_name"/"module".pm and ~specs/"program_group_name"/"module"_spec and modify old files: ~/misc/L_SU_global_constants.pm

NOTES

Modify "module".config file after running this script and before running sudoc2pm_pt2.pl

Modify "nameNnumber.txt" witht he correct base file name and number e.g. susynlv 7

Examples:

perl sudoc2pm_pt1.pl

NOTES

 Program group array and the directory names:

$developer_sunix_categories[0] = 'data'; $developer_sunix_categories[1] = 'datum'; $developer_sunix_categories[2] = 'plot'; $developer_sunix_categories[3] = 'filter'; $developer_sunix_categories[4] = 'header'; $developer_sunix_categories[5] = 'inversion'; $developer_sunix_categories[6] = 'migration'; $developer_sunix_categories[7] = 'model'; $developer_sunix_categories[8] = 'NMO_Vel_Stk'; $developer_sunix_categories[9] = 'par'; $developer_sunix_categories[10] = 'picks'; $developer_sunix_categories[11] = 'shapeNcut'; $developer_sunix_categories[12] = 'shell'; $developer_sunix_categories[13] = 'statsMath'; $developer_sunix_categories[14] = 'transform'; $developer_sunix_categories[15] = 'well'; $developer_sunix_categories[16] = 'unix'; $developer_sunix_categories[17] = '';

        QUESTION 1:
Which group number do you want to use to create
for *.pm, *.config, and *_spec.pm files ?

e.g., for transforms use: $sunix_category_number = 15

CHANGES and their DATES

QUESTIONS 1 & 2:

QUESTION 1: Which group number do you want ?

QUESTION 2: Which program do you want to work on?

For example: 'sugetgthr'; 'sugain'; 'suputgthr'; 'suifft'; 'sufctanismod' 'vel2stiff 'unif2aniso' 'transp' 'suflip'

psgraph thru psmovie

private values

Read in sunix documentaion