using echo 'text' > file (to add to last line of several documents)

Eric Shubert ejs at shubes.net
Wed Oct 27 14:34:22 MST 2010


On 10/27/2010 02:28 PM, der.hans wrote:
> Am 27. Oct, 2010 schwätzte Eric Shubert so:
>
>> Thanks for clearing that up for me hans (and Dale).
>> I'll still steer clear of aliases though. When I find myself doing
>> something repetitively, I'll write a script. ;)
>
> I also prefer scripts, but I don't have any good reasons to not use
> aliases.
>
> The reason you find they can introduce confusion is actually a good reason
> to use them, e.g. the ls alias available on most distros at this point
> that turn on colorized output.
>
> $ type ls
> ls is aliased to `ls --color=auto'

That's cosmetic, so I really don't mind that too much. I'd prefer a new 
command be used though, such as lsc in this case, or such as ll being 
aliased to `ls -l`. I dislike its use to alter the behavior/defaults of 
existing commands though.

> I'm still opposed to using aliases to change data retention behavior for
> commands such as aliasing rm to rm -i.

+1

-- 
-Eric 'shubes'



More information about the PLUG-discuss mailing list