Article 5FCSH Bash scripting

Bash scripting

by
Neljor
from LinuxQuestions.org on (#5FCSH)
Made this simple script, but it does not work.

Code:#! /bin/bash

DAY=$(date | awk '{print $1,$2,$3}')

echo "List of the packages installed today $DAY:"
rpm -qa --queryformat '%{NAME} was installed on %{INSTALLTIME:date}\n' | grep $DAY

exit $0Any suggestions how this should be done?
Thanks in advantage!

Peterlatest?d=yIl2AUoC8zA latest?i=KB_QjMJQQD8:0qlBFmxGtws:F7zBnMy latest?i=KB_QjMJQQD8:0qlBFmxGtws:V_sGLiP latest?d=qj6IDK7rITs latest?i=KB_QjMJQQD8:0qlBFmxGtws:gIN9vFwKB_QjMJQQD8
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments