Split passes by reference and removes dashargs from input list
unfinished build of ls switching to main pc