On 8/12/2009 at 10:43, "Sascha 'saigkill' Manns"
wrote: Hello Mates, i would like to add this in the End of libs/toolkit/objects/tkSettings.cpp: if (QDir("/usr/lib64/qt4/plugins").exists()) d->m_Enum_Path.insert( QtPlugInsPath,"/usr/lib64/qt4/plugins" ) ); else if (QDir("/usr/lib/qt4/plugins").exists()) d->m_Enum_Path.insert( QtPlugInsPath,"/usr/lib/qt4/plugins" ) ); Can i do this with sed?
Hi,
Just for 'adding' those exact lines at the end of the file? I think sed is a bit over the top for this.
Simply use cat:
## example ##
cat >> libs/toolkit/objects/tkSettings.cpp <