This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "Generating URL..." | |
FULL_PATH="/Users/fin/Documents/dev/projects/urlshort" | |
#Count is kept based on a list.txt file | |
#list.txt is a plain text file meant to show relationships between URLs | |
#Instead of a running count, we just count the lines in list.txt | |
INITIAL=`echo -n $(cat $FULL_PATH/list.txt | wc -l)` | |
NUM="$INITIAL/4" |