26 Feb
2003
26 Feb
'03
08:19
Christoph Maurer wrote:
[...] Sorry, hier muss natürlich
if rpm -qpl $i|grep Datei > /dev/null; then
stehen, ändert das Prinzip aber nicht. [...]
Geht auch noch einfacher: for i in *.rpm ; do \ rpm -qpl $i | grep Datei && echo "Datei: $i"; \ done CU, Th. -- Thomas Hertweck, Geophysicist Geophysical Institute, Karlsruhe University (TH)