3 ms·
So 35% Of people looking for job are willing to relocate. curl https://news.ycombinator.com/item?id=25266287 | grep "[r|R]elocate" | sed 's/.*\([r|R]eloca
by xtracto 6y ago
So 35% Of people looking for job are willing to relocate.
curl https://news.ycombinator.com/item?id=25266287 | grep "[r|R]elocate" | sed 's/.*\([r|R]elocate.*\)<.*/\1/' | cut -d'<' -f 1 | wc -l
Total: 139
curl https://news.ycombinator.com/item?id=25266287 | grep "[r|R]elocate" | sed 's/.*\([r|R]elocate.*\)<.*/\1/' | cut -d'<' -f 1 | grep -i "yes" | wc -l
Willing To relocate: 50
Who is hiring:
curl https://news.ycombinator.com/item?id=25266288 | grep -i "onsite" | wc -l
ONSITE:
68 (27%)
curl https://news.ycombinator.com/item?id=25266288 https://news.ycombinator.com/item?id=25266288 | grep -i "remote" | wc -l
Remote: 184 73%
Total: 252
Somebody else can surely improve these quick and dirty search expressions.
- mraza007 6y agoPretty impressed the way you analyzed Taught me something new
- codesnik 6y agominor unwarranted tip: you don't need "|" between letters in character sets in regexps. grep "[r|R]elocate" would match "relocate", "Relocate", yes, but also "|elocate". You probably want grep '[Rr]elocate' or grep '\(R\|r\)elocate' or just grep -i relocate
- xtracto 6y agoGreat feedback! Thanks.
- scott31 6y agoat most 35% ppl are willing to relocate, since you run the second command after the first one and new comments could have been added in between.