qt-creator 内容:
cdparanoia-libs i686 10.2-12.fc18 fedora 51 k
desktop-file-utils i686 0.21-1.fc18 fedora 66 k
emacs-filesystem noarch 1:24.2-5.fc18 fedora 55 k
fftw-libs-double i686 3.3.3-1.fc18 fedora 473 k
连接$1与自己的字符串:
awk '{str=" <packagereq type=\"mandatory\">"$1"</packagereq>"; print str}' qt-creator