l{$0=$0FS;for(s=o=i=_;s=substr($0,i+=length(s)+1,l);o=o s RS)sub(/ [^ ]*$/,_,s) printf o}!l{l=$0}
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page