Re: Enhancing the user experience with tcsh

From: Edho Arief <edho_at_myconan.net>
Date: Fri, 10 Feb 2012 23:58:13 +0700
On Fri, Feb 10, 2012 at 11:41 PM, Gavin Atkinson
<gavin.atkinson_at_ury.york.ac.uk> wrote:
> This change is disruptive, and it can affect use of ls(1) in scripts.

Scripts never use alias and...

> For example, it even sticks the extra characters in the output of
> "ls -1" (the number 1), which is specifically designed to be used when
> piping the output elsewhere.  Please do not break this.  It is also

...actually, don't ever parse ls output.

http://mywiki.wooledge.org/ParsingLs

> command line with "-f".  The "ls -F" change cannot be overridden without
> unaliasing.
>

Try prepending the command with backslash to run unaliased command.

\ls


-- 
O< ascii ribbon campaign - stop html mail - www.asciiribbon.org
Received on Fri Feb 10 2012 - 16:27:41 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:24 UTC