Skip to content

Commit

Permalink
new file: .gitignore
Browse files Browse the repository at this point in the history
modified:   .shsh
  • Loading branch information
Rahmat M. Samik-Ibrahim authored and Rahmat M. Samik-Ibrahim committed Oct 22, 2020
1 parent a607c1d commit b2d796e
Show file tree
Hide file tree
Showing 180 changed files with 2,761 additions and 456 deletions.
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
.bundle/
.jekyll-cache/
.jekyll-metadata
.sass-cache/
_site/
Gemfile.lock
Binary file not shown.
Binary file not shown.
Binary file not shown.
31 changes: 14 additions & 17 deletions .shsh
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,30 @@
# warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.


README="00-README-ls-alR"
ls -R > ${README}.txt

mkindex() {
function mkidx {
cd $1
cat > index.md << NNNN
---
layout: "urls"
---
NNNN
cat >> index.md << NNNN
NNNN
printf -- '---\nlayout: "urls"\n---\n' > index.md
for II in $(ls) ; do
[ "$II" == "index.md" ] && continue
[ -f $II ] && echo "* [$II]($II)" >> index.md
[ -d $II ] && echo "* [$II]($II/)" >> index.md
[ -d $II ] && $(mkidx $II)
done

cd ..
}

README="00-README-ls-alR"
ls -R > ${README}.txt

cat > index.md << NNNN
---
layout: "urls"
---
NNNN

for II in \
00-README-ls-alR.txt \
${README}.txt \
45UUD \
IDX \
INPRES \
Expand All @@ -53,11 +53,8 @@ for II in \
; do
[ -f $II ] && echo "* [$II]($II)" >> index.md
[ -d $II ] && echo "* [$II]($II/)" >> index.md
[ -d $II ] && mkindex($II)
[ -d $II ] && mkidx $II
done

cat >> index.md << NNNN
NNNN

exit 0

Loading

0 comments on commit b2d796e

Please sign in to comment.