Code - Expansion

Card Puncher Data Processing


Expansion is just a transformation (replacement, …) applied to a syntax.

Code is replaced / injected at runtime.

An expansion is a rule or pattern that specifies how a certain input sequence (often a sequence of characters) should be mapped to a replacement output sequence (also often a sequence of characters) according to a defined procedure.

The mapping process that transforms the input as into the output is known as expansion.

This is often used in template.


Expansion of the environment variable

With the following USER environment variable

export USER=Foo
  • The below env file
  • would become at runtime

Discover More
Bash Liste Des Attaques Ovh
Bash - Expansion

This article is expansion in Bash. An expansion is the replacement of a special token in your code by the result of the expansion during code execution. It's performed on the command line after it has...
Card Puncher Data Processing
Code Building - dotenv (.env)

.env files are property files that set the environment variable for a development environment. This logic was taken from React where the defined the environment value with NODE_ENV .env: Default....
Card Puncher Data Processing
Docker - Dockerfile env

This page talks Environment variable in dockerfile. Docker variable expansion works the same than variable Environment variables are notated The syntax also supports a few of the standard...
Model Funny

macro also known as macroinstruction s are a text substitution mechanism. macros replace (expand) a big block of code from a small sequence of characters. The term derives from “macro instruction”,...
What is a URI template?

A URI Template is a compact sequence of characters for describing a range of Uniform Resource Identifiers through variable expansion. URL to create URI that follows a pattern to define and match...

Share this page:
Follow us:
Task Runner