Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,4 @@
|
|||
test -f input.txt
|
||||
test -f /input.txt
|
||||
test -d docs
|
||||
test -d /docs
|
||||
|
|
@ -0,0 +1,8 @@
|
|||
for f in input.txt /input.txt; do
|
||||
test -f "$f" && r=true || r=false
|
||||
echo "$f is a regular file? $r"
|
||||
done
|
||||
for d in docs /docs; do
|
||||
test -d "$d" && r=true || r=false
|
||||
echo "$d is a directory? $r"
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue