Fixed lc to work with spaces in $PWD

Now it uses sed to prune the commands