Created
June 16, 2017 02:32
-
-
Save ybur-yug/ca0f85dc9b3d085f4e8bb98adf94a437 to your computer and use it in GitHub Desktop.
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
# list the flags for `ls` that are NOT valid flags | |
man ls | ruby -n -e 'puts $_ if $_.include? " -"' | ruby -n -e 'a = $_.split(" "); puts a[1]' | ruby -n -e 'puts $_ if $_.include?("-")' > args && ruby -e 'puts http://File.read ("args").split("\n")[0..38]' > args2 && ruby -e 'puts ("a".."z").to_a - http://File.read ("args2").split("\n").map { |el| el.split("")[3] }' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment