I have a .bash_profile script and I can't get the following to work alias lsls='ls -l | sort -n +4'
when I type the alias lsls it does the sort but then posts this error message "-bash: +4: command not found" How do I get the alias to work with '+4'?
It works when type ls -l | sort -n +4 in the command line
I'm in OS X 10.4
Thanks for any help