mirror of
https://codeberg.org/la-chouette/minishell.git
synced 2025-12-06 07:28:09 +01:00
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.
29 lines
1.3 KiB
C
29 lines
1.3 KiB
C
/* ************************************************************************** */
|
|
/* */
|
|
/* ::: :::::::: */
|
|
/* 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)
|
|
{
|
|
}
|