mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
Expansion: fixed one documenting comment.
This commit is contained in:
parent
d5415d978c
commit
08d883b792
1 changed files with 3 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: khais <marvin@42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/03/19 17:28/29 by khais #+# #+# */
|
||||
/* Updated: 2025/03/24 10:47:12 by jguelen ### ########.fr */
|
||||
/* Updated: 2025/03/24 10:52:10 by jguelen ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -115,7 +115,8 @@ static char *calculate_replacement(t_worddesc *word, t_minishell *app, size_t i,
|
|||
** @Param word should NOT be NULL.
|
||||
** Replace the word field of the t_worddesc pointer word with a new string
|
||||
** corresponding to the replacement of the '$' followed by a valid bash
|
||||
** identifier with the corresponding value if present in env or nothing if
|
||||
** identifier with the corresponding value if present in env, the return value
|
||||
** of the last foreground executed pipeline in the case of $? or nothing if
|
||||
** the corresponding identifier does not have an entry in env.
|
||||
** Additionnally if the first character following is a digit both the '$'
|
||||
** and digit are removed even though we do not deal with those type of bash
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue