Skip to content

Commit

Permalink
Update lon
Browse files Browse the repository at this point in the history
  • Loading branch information
nykfank authored Jan 6, 2021
1 parent 4769032 commit 62c433e
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions lon
Original file line number Diff line number Diff line change
@@ -1,2 +1,13 @@
#!/bin/sh
echo $1 >>long.txt
#!/bin/bash

num=$2

if [ $# -eq 1 ]; then
num=1
fi

for (( c=1; c<=$num; c++ ))
do
echo $1 >>long.txt
done

0 comments on commit 62c433e

Please sign in to comment.