Skip to content

Commit 573074c

Browse files
committed
removed unnecessary comments and created wc.py file
1 parent 66d8f5e commit 573074c

File tree

2 files changed

+0
-55
lines changed

2 files changed

+0
-55
lines changed

implement-shell-tools/ls/ls.py

Lines changed: 0 additions & 55 deletions
Original file line numberDiff line numberDiff line change
@@ -31,61 +31,6 @@ def arguments_proceeding(files):
3131
print(" ".join(data_to_proceed))
3232

3333

34-
35-
36-
37-
38-
39-
40-
41-
42-
43-
44-
45-
46-
47-
48-
49-
50-
51-
# output = files
52-
53-
# # if args.one:
54-
# # files.sort()
55-
# # for f in files:
56-
# # print(f)
57-
58-
# if args.a:
59-
# output = [f for f in files]
60-
# output.sort()
61-
# output.insert(0, "..")
62-
# output.insert(0, ".")
63-
64-
# if args.one:
65-
# output = [f for f in files]
66-
# output.sort()
67-
# for f in output:
68-
# print(f)
69-
70-
71-
# -------
72-
73-
# if args.a:
74-
# output = files # include hidden files
75-
# output.insert(0, "..")
76-
# output.insert(0, ".")
77-
# else:
78-
# # exclude hidden files
79-
# output = [f for f in files if not f.startswith('.')]
80-
81-
# output.sort() # always sort after filtering
82-
83-
# if args.one:
84-
# for f in output:
85-
# print(f)
86-
# else:
87-
# print(" ".join(output))
88-
8934
def path_proceeding(path_argument):
9035
if os.path.isfile(path_argument):
9136
print(path_argument)

implement-shell-tools/wc/wc.py

Whitespace-only changes.

0 commit comments

Comments
 (0)