uselessuseof·14 ปีที่แล้ว·discussdoes your grep have an -f option? printf linkedintrouble |sha1sum |sed 's/ .*//' |grep -f - combo_not.txt
uselessuseof·14 ปีที่แล้ว·discusscut takes a file as an argument. there's no need to start the line with < cut -c4-70 combo_not.txt|...
uselessuseof·14 ปีที่แล้ว·discussecho abc > file1. cat file2. cat < file3. echo abc|cat4. echo abc|cat - filecat can take input from the left, the right, or bothsame goes for cut
uselessuseof·14 ปีที่แล้ว·discusshead -5 /usr/share/dict/wordssame result as with xargsgrep petard /usr/share/dict/wordssame result as with xargsnot sure what you are trying to demonstrate hereuseless use of xargs?
uselessuseof·14 ปีที่แล้ว·discussanother useless use of catcut -c7-40 combo_not.txt|sort|dups|wc -lwhat the heck is dups?cut -c7-40 combo_not.txt|sort|uniq -d|wc -l
uselessuseof·14 ปีที่แล้ว·discussobligatory comments- not portable- useless use of backticksprintf password|openssl sha1|cut -c6-40|grep -f - hacked.txt