Shell Scripting Style
Vram
lamsokvr at xprt.net
Tue Jul 12 19:18:18 UTC 2005
On Tue, 2005-07-12 at 14:56 -0400, Sean Sieger wrote:
> I have noticed both the absense /and/ the presense of white space
> adjacent to a pipe.
>
> What is the logic of style when using pipes?
>
> Do all pipes work with and without white space?
> --
> Sean Sieger
>
>
IT is a personal preference...
I think white space makes it more readable?
The computer dosen't care..
A simple exampl
Both these command do exactly the same thing.
One is easier to read.<I think so>
vram at Aether:~/download $ ls -l|less
vram at Aether:~/download $ ls -l | less
HTH
Vram
More information about the ubuntu-users
mailing list