Skip to content

Commit afd1412

Browse files
committed
Fix the format for adding readers' answers
1 parent 7d7c666 commit afd1412

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

answer/20.md

+7
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,12 @@ $ for i in $(cd /usr;echo *); do echo $i ; done
66
```
77
別解1(上田)$ for f in /usr/* ; do echo ${f##*/} ; done
88
別解2(上田)$ a=(/usr/*); echo -e ${a[@]/\/usr\//\\n}
9+
```
10+
11+
### 読者別解
12+
13+
by [kariya-mitsuru](https://github.com/kariya-mitsuru)
14+
15+
```
916
別解3 $ (cd /usr; set -- *; IFS=$'\n'; echo "$*")
1017
```

0 commit comments

Comments
 (0)