logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git

git-sh-i18n--envsubst.1 (2238B)


  1. '\" t
  2. .\" Title: git-sh-i18n--envsubst
  3. .\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
  4. .\" Generator: DocBook XSL Stylesheets v1.79.2 <http://docbook.sf.net/>
  5. .\" Date: 2025-03-14
  6. .\" Manual: Git Manual
  7. .\" Source: Git 2.49.0
  8. .\" Language: English
  9. .\"
  10. .TH "GIT\-SH\-I18N\-\-ENVSUBST" "1" "2025-03-14" "Git 2\&.49\&.0" "Git Manual"
  11. .\" -----------------------------------------------------------------
  12. .\" * Define some portability stuff
  13. .\" -----------------------------------------------------------------
  14. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  15. .\" http://bugs.debian.org/507673
  16. .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
  17. .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  18. .ie \n(.g .ds Aq \(aq
  19. .el .ds Aq '
  20. .\" -----------------------------------------------------------------
  21. .\" * set default formatting
  22. .\" -----------------------------------------------------------------
  23. .\" disable hyphenation
  24. .nh
  25. .\" disable justification (adjust text to left margin only)
  26. .ad l
  27. .\" -----------------------------------------------------------------
  28. .\" * MAIN CONTENT STARTS HERE *
  29. .\" -----------------------------------------------------------------
  30. .SH "NAME"
  31. git-sh-i18n--envsubst \- Git\*(Aqs own envsubst(1) for i18n fallbacks
  32. .SH "SYNOPSIS"
  33. .sp
  34. .nf
  35. eval_gettext () {
  36. printf "%s" "$1" | (
  37. export PATH $(\fIgit sh\-i18n\-\-envsubst\fR \-\-variables "$1");
  38. \fIgit sh\-i18n\-\-envsubst\fR "$1"
  39. )
  40. }
  41. .fi
  42. .SH "DESCRIPTION"
  43. .sp
  44. This is not a command the end user would want to run\&. Ever\&. This documentation is meant for people who are studying the plumbing scripts and/or are writing new ones\&.
  45. .sp
  46. \fIgit sh\-i18n\-\-envsubst\fR is Git\(cqs stripped\-down copy of the GNU \fBenvsubst\fR(\fB1\fR) program that comes with the GNU gettext package\&. It\(cqs used internally by \fBgit-sh-i18n\fR(1) to interpolate the variables passed to the \fBeval_gettext\fR function\&.
  47. .sp
  48. No promises are made about the interface, or that this program won\(cqt disappear without warning in the next version of Git\&. Don\(cqt use it\&.
  49. .SH "GIT"
  50. .sp
  51. Part of the \fBgit\fR(1) suite