Upgrade from Dapper to Edgy

Matthew Flaschen matthew.flaschen at gatech.edu
Sun Feb 18 17:52:12 UTC 2007


Rick Greep wrote:
> 	Well it looks like I stumbled on a hornets 
> nest. "https://launchpad.net/ubuntu/+source/dash/+bug/61463".
> 
> 	After spending a few of hours trying to get dash to work, I've found a couple 
> of annoyances it just doesn't seem to handle. You cannot use escapes in the 
> echo command ( -e "\t\n"), and variables like $HOSTNAME are not valued under 
> dash. 
> 
> 	I know I can use `uname -n` instead of $HOSTNAME and maybe my echo commands 
> don't have to be that pretty, but it is a bit annoying to have to change my 
> scripts to accommodate this upgrade.

All you have to change is the #!, to:

#!/bin/bash

Matthew Flaschen

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 254 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20070218/f75b8cbe/attachment.sig>


More information about the ubuntu-users mailing list