mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
Subst: A norm NON-compliant and incomplete version
The code does not update flags yet and is to be refactored to conform to the norm. Tests required but needing a new version of the wordsplitting code.
This commit is contained in:
parent
2dd54e2827
commit
e348040ea4
10 changed files with 328 additions and 91 deletions
29
src/subst/wildcard_exp.c
Normal file
29
src/subst/wildcard_exp.c
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
/* ************************************************************************** */
|
||||
/* */
|
||||
/* ::: :::::::: */
|
||||
/* wildcard_exp.c :+: :+: :+: */
|
||||
/* +:+ +:+ +:+ */
|
||||
/* By: jguelen <jguelen@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/02/23 15:02:59 by jguelen #+# #+# */
|
||||
/* Updated: 2025/02/25 10:07:59 by jguelen ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
#include "subst.h"
|
||||
|
||||
/*
|
||||
** TODO
|
||||
*/
|
||||
|
||||
/*
|
||||
** A function designed to present all possible * filename expansions for the
|
||||
** current directory.
|
||||
** Does not take into account any other wildcard and does only search the
|
||||
** current working directory.
|
||||
** @PARAM A C compliant character string representing a pattern for a filename.
|
||||
** @RETURN A NULL-terminated pointer to a wordlist
|
||||
*/
|
||||
t_wordlist *expand_star(char *file_pattern)
|
||||
{
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue