Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
dune-common
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Tobias Leibner
dune-common
Commits
430937a0
Commit
430937a0
authored
18 years ago
by
Christian Engwer
Browse files
Options
Downloads
Patches
Plain Diff
added part on Portable Shell Programming
[[Imported from SVN: r4723]]
parent
dc44caf8
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/devel/portability.wml
+26
-0
26 additions, 0 deletions
doc/devel/portability.wml
with
26 additions
and
0 deletions
doc/devel/portability.wml
+
26
−
0
View file @
430937a0
...
...
@@ -52,6 +52,32 @@ The same problem implies for several _"one big charakter" names.
So be warned :-)
</pre>
<h1>
Portable Shell Programming
</h1>
<p>
In the buildsystem quite some shell code is needed. The default
shell
<tt>
/bin/sh
</tt>
is supposed to behave the same, no matter which
machine you run your script on. Sadly there are some subtile, but
still important, differences between the different 'bourne shell'
implementations. Therefore it is important to know about possible caveats.
</p>
<ul>
<li>
<a
href=
"http://www.newsforge.com/article.pl?sid=04/03/01/1554205"
>
What to watch out for when writing portable shell scripts
</a>
(article in newsforge)
</li>
<li>
<a
href=
"http://code.dogmap.org/lintsh/"
>
lintsh
</a>
: a collection of
known incompatibilities between different
<tt>
sh
</tt>
versions.
</li>
<li>
Autoconf Guide - chapter
<a
href=
"http://www.gnu.org/software/autoconf/manual/autoconf-2.57/html_node/autoconf_114.html"
>
Portable Shell Programming
</a>
</li>
</ul>
<h1>
Further information
</h1>
<ul>
<li><a
href=
"http://predef.sourceforge.net/"
>
http://predef.sourceforge.net/
</a>
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment