PKG_cleanPackageLine

Description: Removes unwanted characters from a line containing package names and makes sure that there is only one line without line breaks.
Parameter: