Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Blog | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bash question



On 01/03/2009 01:24 PM, dan moylan wrote:
> running ubuntu 8.10.
> in my .profile file i had the following line:
>   hst=3D${HST:0:3}
> i was cited for a login error because of it, and couldn't
> log in until i changed the line to:
>   hst=3D`echo $HST | cut -c1-3`
> does anyone know why the first construction causes a
> problem?  once i'm logged in, both constructions work fine.
>  =20
As mentioned before, this could be a strict Bourne vs. BASH construct.=20
How do you log in. Do you get the error from the GUI when you do a GUI=20
login, or from logging in on a virtual terminal.

--=20
Jerry Feldman <gaf-mNDKBlG2WHs at public.gmane.org>
Boston Linux and Unix
PGP key id: 537C5846
PGP Key fingerprint: 3D1B 8377 A3C0 A5F2 ECBB  CA3B 4607 4319 537C 5846








BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org