10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
How could I use the env command to change the enviroment variable GREP_OPTIONS so that grep is not case sensitive by setting it to "-i'?
So that the command:
grep a <<< A
Will produce the same output as
grep -i a <<< A (8 Replies)
Discussion started by: steezuschrist96
8 Replies
2. Shell Programming and Scripting
Hi,
I meet an problem that it cannot change Terminal environment variable in a perl or bash script.
This change can only exist and become effective in script lifetime.
But I want to make this change take effect in current opened Terminal.
In our view, the thought seems to be impossible,
As... (9 Replies)
Discussion started by: weichanghe2000
9 Replies
3. Shell Programming and Scripting
Hello my friends i have created a perl cgi script to see browser support for text and graphics but $ENV variable is not working ,
Code is:
#!/usr/bin/perl
#Author Ravinder kumar
# START
use warnings;
$nongraphic = 'lynx|CERN-Linemode|elinks';
$client = $ENV{'HTTP_USER_AGENT'};
$text... (9 Replies)
Discussion started by: rink
9 Replies
4. Web Development
(Above from Apache docs).
On my system, using:
SetEnvIf User-Agent Mozilla IsBad=1
Order allow,deny
Allow from all
Deny from env=IsBad ...I see that environment variable is set (using phpinfo()) but the page is still served. No errors in the Apache logs. (1 Reply)
Discussion started by: gnurob
1 Replies
5. Shell Programming and Scripting
Hi,
I have
ORACLE_HOME=
This is wrong, and I want to find this in the file, and replace it with
ORACLE_HOME=/home/oracle/product/10.2
can anyone please assist?
thanks (2 Replies)
Discussion started by: JamesByars
2 Replies
6. Shell Programming and Scripting
Hi All,
I am trying the following to set the environment variable in my scirpt.But it is not setting with the correct value.
Can you guys please help me out to get the correct value.
1. I have environment variable NLS_LANG=American_America.UTF8
2. In my script (ksh) i am trying the following... (1 Reply)
Discussion started by: girish.raos
1 Replies
7. Shell Programming and Scripting
Hi:
I am trying to reuse an existing shell script foo1.csh to set environment variables inside a perl script and its childern processes.
Is it possible at all to make those environment variables persistent in the main perl process and its children processes?
Do I have to create a new... (4 Replies)
Discussion started by: phil518
4 Replies
8. Shell Programming and Scripting
Hmm quite difficult for me to express my problem in one sentence.Introduction {i am a newbee to csh perl, awk and stuff, and by surfing these forums i managed to build quite a big code using all three of them in a script. Have to admitt, it was not a good idea, and its the perfect example of how... (3 Replies)
Discussion started by: Radamez
3 Replies
9. UNIX for Dummies Questions & Answers
I thought that set and setenv was easy enough to understand until I started experimenting.
I noticed the same problem in a previous thread, so I will use it as an example.
set command gave the following output:
argv ()
cwd /homes/e/ee325328/assignment.2
home /homes/e/ee325328
path ( a... (2 Replies)
Discussion started by: benwj
2 Replies
10. Shell Programming and Scripting
Hi All,
I am trying to put the csh variable into a perl.
In the below case, i am trying to put the csh variable "var" into my perl code. I tried to use '"$var"' but i don;t think it works.
Can anybody help me pls?
#!/bin/csh
set var = `echo "xxx"`
perl myperlcode.pl file
... (9 Replies)
Discussion started by: Raynon
9 Replies