I hereby claim:
- I am r1beast02 on github.
- I am r1beast02 (https://keybase.io/r1beast02) on keybase.
- I have a public key whose fingerprint is 7CED 4B14 C364 B6A9 512D 0CF0 3CF9 6F77 4E15 C590
To claim this, I am signing this object:
##Ok - super hacky but hey it works!! | |
#!/bin/bash | |
ls > files.txt | |
cat files.txt | grep [aeiou] | sed 's/$/: This file contains a vowel/' > output.txt | |
cat files.txt | grep -v [aeiou] | sed 's/$/: This file does NOT contain a vowel/' >> output.txt | |
sort -d output.txt |
#!/bin/bash | |
# retrieve difference seconds for new years day and today's date from epoch | |
nye=$( date -d "Jan 1 2015" +%s) | |
today=$( date +"%s") | |
# get difference in seconds between 2 moments and convert to days/hours/minutes/seconds | |
seconds=$(($nye - $today)) | |
days=$(($seconds / 86400)) | |
seconds=$(($seconds % 86400)) | |
hours=$(($seconds / 3600)) | |
seconds=$(($seconds % 3600)) |
cat hack.txt | tr ',' '\n' | sed 's/files=//g' > hack2.txt |
ls | tr '\n' ',' | sed 's/^/files=/' | sed '$s/,$//' > hack.txt; cat hack.txt |
I hereby claim:
To claim this, I am signing this object: