logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

makeSH - a .SH script maker

Author

       Larry Wall <lwall@netlabs.com>

Bugs

       It could assume that variables from metaconfig's Glossary need to be initialized in  the  first  section,
       but I'm too lazy to make it do that.

                                                      LOCAL                                            MAKESH(1)

Description

MakeSH  examines  one  or  more scripts and produces a .SH file that, when run under sh, will produce the
       original script.  The .SH script so produced has two sections containing code destined  for  the  output.
       The  first  section  has variable substitutions performed on it (taking values from config.sh), while the
       second section does not.  MakeSH does not know which variables you want to have substituted, so  it  puts
       the  whole  script  into  the second section.  It's up to you to insert any variable substitutions in the
       first section for any values you want from config.sh.

       You should run makeSH from within your top-level directory and use the relative path to the  file  as  an
       argument,  so  that  the  "Extracting ..." line printed while running the produced .SH file later on will
       give that same path.

Name

       makeSH - a .SH script maker

See Also

pat(1), metaconfig(1), makedist(1).

Synopsis

makeSHfiles

See Also