Expansion: fixed one documenting comment.

This commit is contained in:
Jérôme Guélen 2025-03-24 10:53:02 +01:00
parent d5415d978c
commit 08d883b792
No known key found for this signature in database

View file

@ -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