modifs.mineures sans commentaires
This commit is contained in:
parent
2e5101d6a2
commit
ae20e49440
3
lgrep
3
lgrep
|
@ -35,6 +35,7 @@ parse_args "$@"; set -- "${args[@]}"
|
||||||
|
|
||||||
pattern="$1"
|
pattern="$1"
|
||||||
args=("${@:2}")
|
args=("${@:2}")
|
||||||
#XXX ajouter le support de -r, notamment si ${args[@]} contient un répertoire
|
#XXX ajouter le support de -r, -h, -H, notamment si ${args[@]} contient un
|
||||||
|
# répertoire
|
||||||
|
|
||||||
iconv -f latin1 -t utf-8 "${args[@]}" | grep "${grepopts[@]}" "$pattern"
|
iconv -f latin1 -t utf-8 "${args[@]}" | grep "${grepopts[@]}" "$pattern"
|
||||||
|
|
Loading…
Reference in New Issue