Created
June 26, 2016 08:17
-
-
Save RubenKelevra/f887a2983af77884cbe9fc61f816825d 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
oldifs="$IFS" | |
IFS=$'\n' | |
echo "" > installed_programs.txt | |
for e in `yaourt -Qen`; do | |
echo "$(echo $e | cut -d' ' -f1)" >> installed_programs.txt | |
done | |
IFS=$oldifs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment