mirror of
https://github.com/edoardottt/awesome-hacker-search-engines.git
synced 2024-10-01 01:05:51 -04:00
Add scripts
This commit is contained in:
parent
8d14f373c6
commit
5d5e88d3c8
@ -1,9 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
echo $(pwd)
|
||||
|
||||
readme="README.md"
|
||||
|
||||
pwd=$(pwd)
|
||||
|
||||
if [[ "${pwd: -7}" == "scripts" ]];
|
||||
then
|
||||
readme="../README.md"
|
||||
fi
|
||||
|
||||
links=$(cat $readme | egrep "\- \[" | wc -l)
|
||||
|
||||
uniqlinks=$(cat $readme | egrep "\- \[" | uniq | wc -l)
|
||||
|
Loading…
Reference in New Issue
Block a user