[X-Unix] Quoting in bash aliases

Kirk McElhearn kirklists at wanadoo.fr
Thu Feb 19 05:06:10 PST 2004


On 2/19/04 1:47 PM, "Eugene Lee" <list-themacintoshguy at fsck.net> wrote:

> However, you can use the rules of quoting to create an alias that is
> easier to type and easier to read:
> 
> $ alias rplc='perl -pi -e "s/\r\n?/\n/g"'

Thanks!
 
 
Kirk
 
        My latest book: How to Do Everything with Mac OS X Panther
                  http://www.mcelhearn.com/htde.html
 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
 . . . . . . .  kirk at mcelhearn.com | http://www.mcelhearn.com  . . . . . .
 . .  Kirk McElhearn | Chemin de la Lauze | 05600 Guillestre | France  . .



More information about the X-Unix mailing list