Reputation
6,609
Top tag
Next privilege 10,000 Rep.
Access moderator tools
Badges
1 14 19
Newest
 Enlightened
Impact
~195k people reached

May
6
awarded  Enlightened
May
6
awarded  Nice Answer
May
5
comment displaying output in a single line
echo -n ... to suppress the printing of the newline character.
Apr
30
comment set library path for current script
Is testandlaunch the program you are trying to set LD_LIBRARY_PATH for, or the script you are trying to modify to make that happen? It might help if you post the relevant parts of your script as an edit to your question.
Apr
30
comment set library path for current script
What is the command you are trying to call? Does it care about the value of LD_LIBRARY_PATH?
Apr
30
answered set library path for current script
Apr
30
comment set library path for current script
It is possible to export a variable in a script, so that it only affects calls made within that script. Once the shell started by the kernel to run the script dies, so does its context - including any variables you export. I should have made that clearer in my comment.
Apr
30
comment set library path for current script
LD_LIBRARY_PATH=foo; export LD_LIBRARY_PATH is arguably slightly better - you only need it once in the script, and anything you call that cares about it will find it. No repetition, reduced scope for errors. You can override an existing setting with an inline assignment, if necessary.
Apr
30
comment set library path for current script
Do you really mean $(pwd), or do you mean $(dirname $0)?
Apr
22
comment How to you force fsck at reboot on FreeBSD10?
What does the /etc/fstab entry for /dev/vtbd0p2 look like? Specifically, is the last field set to anything other than 0?
Apr
21
comment How to you force fsck at reboot on FreeBSD10?
What filesystem are you using on that device?
Apr
21
answered How to you force fsck at reboot on FreeBSD10?
Apr
17
comment What is the difference between vim and vim-lite?
Take a look in editors/vim/Makefile and look for the LITE knob. You'll see it turns off X, prevents embedded interpreters for perl, python, ruby, etc, as well disabling certain other features.
Apr
17
comment What is the difference between vim and vim-lite?
That's it exactly - you should turn your comment into an answer!
Apr
17
revised Local variable as a part of global one
added 484 characters in body
Apr
17
answered Local variable as a part of global one
Apr
14
comment Deleting all old files after rebuilding world on FreeBSD
They will only delete obsolete files that were installed as part of the base system - executables, headers, documentation, etc. delete-old-libs will only delete obsolete shared libraries. You can use the target check-old to see what the other two would delete.
Apr
12
answered Deleting all old files after rebuilding world on FreeBSD
Apr
7
comment Set up multi-head environnement on FreeBSD running X.org
If xrandr is not detecting two screens, then I think you are out of luck. Try using the intel driver instead of the vesa one currently configured and see if that helps. If not, and you are certain that both devices are enabled in the BIOS, then I think your only solution is to install an additional card.
Apr
3
comment Set up multi-head environnement on FreeBSD running X.org
Are both display adapters integrated on the mainboard? Is one integrated and the other an expansion card? That xrandr detects only one monitor suggests that only one adapter is active, so you might be able to activate both in the BIOS.