From b6e016954672dcacc1c9ffc7302227beda25bbae Mon Sep 17 00:00:00 2001 From: perro Date: Fri, 3 Mar 2023 10:49:43 -0800 Subject: [PATCH] Renombre --- exercises/ex04/{ex04.py => help.py} | 1 + exercises/ex05/{ex05.py => cat.py} | 2 +- exercises/ex06/{ex06.py => find.py} | 2 +- exercises/ex07/{ex07.py => grep.py} | 2 +- exercises/ex08/{ex08.py => cut.py} | 2 +- exercises/ex09/{ex09.py => sed.py} | 2 +- exercises/ex10/{ex10.py => sort.py} | 2 +- 7 files changed, 7 insertions(+), 6 deletions(-) rename exercises/ex04/{ex04.py => help.py} (98%) rename exercises/ex05/{ex05.py => cat.py} (98%) rename exercises/ex06/{ex06.py => find.py} (98%) rename exercises/ex07/{ex07.py => grep.py} (98%) rename exercises/ex08/{ex08.py => cut.py} (98%) rename exercises/ex09/{ex09.py => sed.py} (98%) rename exercises/ex10/{ex10.py => sort.py} (98%) diff --git a/exercises/ex04/ex04.py b/exercises/ex04/help.py similarity index 98% rename from exercises/ex04/ex04.py rename to exercises/ex04/help.py index 00975a2..3e60b3c 100644 --- a/exercises/ex04/ex04.py +++ b/exercises/ex04/help.py @@ -1,4 +1,5 @@ # Exercise 4 +# help arg # 1. Getting help with -help or -h. # 2. A least three arguments that are flags, meaning they don’t take an extra # argument but simply putting them on the command line turns something on. diff --git a/exercises/ex05/ex05.py b/exercises/ex05/cat.py similarity index 98% rename from exercises/ex05/ex05.py rename to exercises/ex05/cat.py index 57acbad..6b3916f 100644 --- a/exercises/ex05/ex05.py +++ b/exercises/ex05/cat.py @@ -1,5 +1,5 @@ # Exercise 5 -# 1. cat command +# cat command import argparse from pathlib import Path diff --git a/exercises/ex06/ex06.py b/exercises/ex06/find.py similarity index 98% rename from exercises/ex06/ex06.py rename to exercises/ex06/find.py index df19dc3..1c45d64 100644 --- a/exercises/ex06/ex06.py +++ b/exercises/ex06/find.py @@ -1,5 +1,5 @@ # Exercise 6 -# 1. find command +# find command import sys import argparse diff --git a/exercises/ex07/ex07.py b/exercises/ex07/grep.py similarity index 98% rename from exercises/ex07/ex07.py rename to exercises/ex07/grep.py index f98c903..db1d27e 100644 --- a/exercises/ex07/ex07.py +++ b/exercises/ex07/grep.py @@ -1,5 +1,5 @@ # Exercise 7 -# 1. grep command +# grep command import re import sys diff --git a/exercises/ex08/ex08.py b/exercises/ex08/cut.py similarity index 98% rename from exercises/ex08/ex08.py rename to exercises/ex08/cut.py index 5fe12a0..a6896ed 100644 --- a/exercises/ex08/ex08.py +++ b/exercises/ex08/cut.py @@ -1,5 +1,5 @@ # Exercise 8 -# 1. cut command +# cut command import re import sys diff --git a/exercises/ex09/ex09.py b/exercises/ex09/sed.py similarity index 98% rename from exercises/ex09/ex09.py rename to exercises/ex09/sed.py index 0f43c01..37100c2 100644 --- a/exercises/ex09/ex09.py +++ b/exercises/ex09/sed.py @@ -1,5 +1,5 @@ # Exercise 9 -# 1. sed command +# sed command import re import sys diff --git a/exercises/ex10/ex10.py b/exercises/ex10/sort.py similarity index 98% rename from exercises/ex10/ex10.py rename to exercises/ex10/sort.py index 815e5cf..289fee9 100644 --- a/exercises/ex10/ex10.py +++ b/exercises/ex10/sort.py @@ -1,5 +1,5 @@ # Exercise 10 -# 1. sort command +# sort command import sys import argparse