02-23-2008
Wrong:
set ${$pe} = M
Good:
set pe = M
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
I set my path environment variable in c shell, using the
syntax below
setenv PATH "${PATH}:/usr/local:/usr/local/bin"
and placed this in $HOME/.login
$HOME/.cshrc
and /etc/.login
/etc/.cshrc
but when I issued echo $PATH or set command
the output does not reflect changes made to... (5 Replies)
Discussion started by: hassan2
5 Replies
2. UNIX for Dummies Questions & Answers
I'm having an issue when I export within my program. I'm getting the variable name, not the variable value. I have a configuration file (config.txt) that has the values of the variables set as so:
set -a
export ARCHIVEPOSourceDir="/interfaces/po/log /interfaces/po/data"
export... (2 Replies)
Discussion started by: ParNone
2 Replies
3. Shell Programming and Scripting
hi all
i have joined new to the group.
i have set an variable in my bashrc file.
.bashrc
PROGHOME=/home/braf/braf/prog
export PROGHOME
but while using it in my shell script its path is not taken and i had to explicitly give the export command to set the path.
in my script... (8 Replies)
Discussion started by: krithika
8 Replies
4. Shell Programming and Scripting
Below is the content of the file I am parsing
bash-2.03$ cat rakesh
cpio: Cannot write "reloc/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/gmon.o", errno 28, No space left on device
cpio: Cannot write "reloc/lib/gcc-lib/i386-pc-solaris2.7/2.95.2/include/README", errno 28, No space left on device... (1 Reply)
Discussion started by: rakeshou
1 Replies
5. Shell Programming and Scripting
I have a shell script I want to run that will set environment variables based on the value of an input variable submitted when the shell script is called. For example:
$ mgenv.sh prod
This would set environment variables for prod
$ mgenv.sh test
This would set environment variables... (1 Reply)
Discussion started by: brtaylor73
1 Replies
6. Shell Programming and Scripting
Dear All,
we have a command output which looks like :
Total 200 queues in 30000 Kbytes
and we're going to get "200" and "30000" for further process. currently, i'm using :
numA=echo $OUTPUT | awk '{print $2}'
numB=echo $OUTPUT | awk '{print $5}'
my question is : can I use just one... (4 Replies)
Discussion started by: tiger2000
4 Replies
7. Shell Programming and Scripting
Hi,
I am trying to do the following thing
var='date'
$var
Above command substitutes date for and in turn runs the date command and i am getting the todays date value.
I am trying to do the same thing as following, but facing some problems,
unique_host_pro="sed -e ' /#/d'... (3 Replies)
Discussion started by: gvinayagam
3 Replies
8. Shell Programming and Scripting
greetings,
i have a sh script that calls a python script. the sh script sets an env variable BIN:
export BIN=bin64i need to get that BIN variable's value and use it within this python script. anyone know how to do this? thanx in advance. (5 Replies)
Discussion started by: crimso
5 Replies
9. Shell Programming and Scripting
shell script has a command inside back quotes in method update_TABLE
I need to store the count of number of Rows updated and store it in shell script variable "num"
num = 0;
Update_TABLE
Update_TABLE()
{
`echo " set verify off feedback off echo off pagesize 0 head off... (4 Replies)
Discussion started by: finder255
4 Replies
10. Shell Programming and Scripting
Hi Guys,
I want to set a variable which happend to have square brackets in them. I tried multiple ways that is by escaping it with quotes (both single and double ) but it didn't help.
All I want is:
set x = slicearray.slice\.post
My failed attempts were:
set x = "slicearray.slice\.post"... (3 Replies)
Discussion started by: dixits
3 Replies
REARJ(1) Arj Software REARJ(1)
NAME
rearj - Converts other archive formats to .arj files
SYNOPSIS
rearj [options] <!listfile(s)|filespec(s)|wildname(s)>
DESCRIPTION
The rearj command can repackage other archive formats to arj.
OPTIONS
-+ Ignore REARJ_SW variable.
-a[suffix]
Convert archives within archives ("*" for all formats).
-bcommand
Execute command before extracting files.
-ccommand
Execute command on extracted files before counting them.
-d Delete original archives.
-e No error switch.
-f Convert diskette archives.
-g Skip creation of output archive.
-i[name]
Check integrity of rearj program.
-j Skip if output archive size is larger than the original.
-k Skip archive timestamping.
-l[name]
Write append log file (default name is rearj.log).
-m[date]
Select archives before date in YYMMDDHHMMSS format.
-n[date]
Select archives on or after date in YYMMDDHHMMSS format.
-o Allow overwrite of existing target archive.
-p Ignore long filenames under Windows 95.
-q Query for each archive to convert.
-r Recurse through subdirectories.
-s Skip verify of file count and total size.
-tsuffix
Create suffix type archives.
-u[bak]
Allow update of archive with backup (default is BAK).
-v Execute configured command on extracted files.
-wdir Assign work directory.
-x[!]file
Exclude by filename, wildname, or listfile.
-y[text]
Delete output archive and write text to log (testing mode).
-z Simulate operation.
ENVIRONMENT
REARJ_SW If set, its value will be used as command line options.
EXIT STATUS
0 Success.
1 File not found.
2 File is not a configured archive type.
3 Target archive already exists.
4 Not enough disk space.
5 User skipped or user did not select update option.
6 UNPACK command error.
7 PACK command error.
8 Target cannot support directories.
9 Wrong file count.
10 Wrong total size.
11 Internal archive REARJ error.
12 Rename archive error.
13 Invoked -v command error (found a virus?).
14 Output archive is larger.
EXAMPLE
rearj * -r -d
Convert all archives to ARJ format, searching all subdirectories, deleting original archives.
SEE ALSO
arj(1).
AUTHOR
This manual page was written by Ola Lundqvist <opal@debian.org> in pod format, then converted by Guillem Jover <guillem@debian.org> to
nroff format.
3.10 2003-03-10 REARJ(1)