* FAQ    * Search  * Register * Login 
Active topics
Unanswered topics

All times are UTC-06:00



Post new topic  Reply to topic  [ 3 posts ] 
Author Message
 Post subject: [BASH]ed my head in
PostPosted: Wed Aug 22, 2012 1:30 pm 
Offline
DBB Artist
DBB Artist
User avatar

Joined: Mon Aug 01, 2005 8:47 am
Posts: 7124
Location: Ơ̸̦͇̲̬̭̱̰͎̞͈̣͎͚̳ͬ͋̃̀̇͊͂͋͐ͦ̽ͣ̂ͥ͊̅̀̚͠ B̶͖̯͉̜̰̲̓̔͋̈́ͅ È̯ Y̪̤̼͉̠̙͝
So if I go

SLDKFJLSKJDF="-Wall" make

What exactly is SLDKFJLSKJDF? It seems to work fine no matter what I change it to.

This remeinds me of

WINEPREFIX=".Officexp2007" wine "/adsf/adsfasdg/adsfdd/setup.exe"

This let me install programs into the file .Officexp2007

Now I'm seeing something similar with

BLAHBLAH="-Wall" make helloworldz

What is this BLAHBLAH="-Wall" thing???

I'd look it up but I'm not even sure that this terminal thing is called.

edit: Ok they're called "environment variables". Got it!

_________________
s☼-£♦и̫͍ͥ̍ͪ͌̓͗͡о̡̹̱͊̅ͮ̓̕͢б̧̝̻̪̤̳̜͐̓̉ͤ͢͜ ͙̬͙̆̑ͮ̐ͭ̾̂́͘i̎̌̾̓̽̀̈̓̀҉͉̙̦͎̘̝͕f̻͕͔̘ͣͣ̓͊̿͢͜ ͍͔͈͕̮̫ͣ̆ͮ̊͋/♂6Æ!♪╩"▲L└уͭ̂͐̇҉̴̣̼̞̠̯͓̺̞ф̜̊͌̈́̋̏̐́ц̨͔̮̿̇ ̨̛͖̙͖̖̮̗̱ͩ̆͞ͅа̥͇̞̖͚̟̅͐ͤ͞͠͠э̜̘̩̳̬͔̾ͯ̀ͫ̒̐̿ͅͅг̭̖̀ͦ̒̑ͥ̌ͮͫ͞ё͔̟̃ͬ̾̓͟ё̦̞̙̫͔̩͑̀͂ͯ̄̔̃̑̀͠ͅͅ


Top
   
 Post subject: Re: BASHed my head in
PostPosted: Wed Aug 22, 2012 4:31 pm 
Offline
DBB Admiral
DBB Admiral

Joined: Sun Jan 02, 2000 3:01 am
Posts: 1102
DOS had em too... Remember SETBLASTER=220,5,1 by any chance?


Top
   
 Post subject: Re: BASHed my head in
PostPosted: Wed Aug 22, 2012 7:52 pm 
Offline
DBB Master
DBB Master
User avatar

Joined: Sun Sep 05, 1999 2:01 am
Posts: 6377
Location: ☃☃☃
Code:
$ env | grep FOO
$ export FOO=BAR
$ env | grep FOO
FOO=BAR
$ unset FOO
$ env | grep FOO
$ FOO=BAR env | grep FOO
FOO=BAR
$ env | grep DISPLAY
DISPLAY=:0.0
$ echo $DISPLAY
:0.0


Quote:
SLDKFJLSKJDF="-Wall" make


Assuming this was originally CFLAGS, this environment variable is used by Makefiles to pass options to the compiler. (-Wall enables extra warnings with gcc.)


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC-06:00


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  



Descent'rs have piloted these pages
 
The layout and contents contained within this site are © DescentBB.net 1997-2006.
Descent, Descent II are © Parallax Software Corporation.
Descent III is Outrage Entertainment.
Descent is a Trademark of Interplay Productions.

Miner Wars™ is trademark of Keen Software House s. r. o.
.


Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group