9 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Friends,
I trying to get the unix path fro a config file. There are 100 + path variables defined in the master_config.sh. Like this ;
app_dir=/project/emp
abc_dir=${app_dir}/abc/app
abc_common=${abc_dir}/common
abc_common_base=${abc_common}/base... (2 Replies)
Discussion started by: arunv123
2 Replies
2. UNIX for Beginners Questions & Answers
#!/bin/sh
. /opt/ora/oracle/db/tech_st/11.2.3/PROD_proddb.env
sqlplus -s "username/password" << EOF
no='sqlplus -s username/password<<EOF
set heading off
set feedback off
Select
pt.user_concurrent_program_name report_name , OUTFILE_NAME report_path
FROm
apps.fnd_concurrent_programs_tl... (12 Replies)
Discussion started by: usman_oracle
12 Replies
3. Shell Programming and Scripting
I'm trying to search the 2 pattern in consecutive lines and print them but my variables are not resolving in sed (using bash shell) -
# cat testfile2.txt
Fixing Storage Locations to remove extra slash;
Fixing Storage Locations to remove extra slash;
Fixing Storage Locations to remove extra... (2 Replies)
Discussion started by: Mannu2525
2 Replies
4. Shell Programming and Scripting
I'm trying to make a sed substitution where the substitution pattern is an environment variable to be expanded, but the variable contains a "slash".
sed -e 's/<HOME_DIRECTORY>/'$HOME'/'This gives me the following error:
sed: -e expression #1, char 21: unknown option to `s'Obviously this is... (2 Replies)
Discussion started by: Ilja
2 Replies
5. Shell Programming and Scripting
Hi,
i have the following env variable. currently i am exporting variable in the same script file. but i need this is in a text file and the scripts need to export this variable from the text file.
can you please suggest me. is it possible.
export... (6 Replies)
Discussion started by: rsivasan
6 Replies
6. Shell Programming and Scripting
I've searched Google and now this forum. Best guess is my search fu is not good (and it probably isn't). The Google search did bring me here.
Background
I have a number of Korn Shell scripts who all use one of 3 values for an environment variable used in the backup system.
On occasion one or... (8 Replies)
Discussion started by: WolfBrother
8 Replies
7. Linux
Hi all,
I am running a Java program on a Linux server in which I read in a base directory path from the *.properties file. During processing, I build a unique file name and create a file to save data, concatenating the directory path and the file name. Works fine, except that I now need to... (2 Replies)
Discussion started by: patricia1of5
2 Replies
8. Shell Programming and Scripting
Hi,
I have to set bunch of variables and all other programs like make,
perl will use them ..
Here are my constraints and requirements ...
The variables have to be set by executing a script that runs
in c shell. I cannot source the script since people who use this
script might be on... (8 Replies)
Discussion started by: sharanbr
8 Replies
9. Shell Programming and Scripting
First of all I am using C shell.
I have a variable destDirectory that holds a path.
the path includes an environment variable($user)
when I try to execute a command within the script, the $destDirectory gets replaced with the path, but the environment variable is not replaced. I end up... (2 Replies)
Discussion started by: karyn1617
2 Replies