I've checked with KDE CVS, they have resorted to assigning $1 to a temporary variable and their script is no longer broken. Further, I have a sneaking suspicion you can't rely on $1 when doing a split. So, is this still a bug?