10-02-2013
Do you have a example maybe for me? I'm doing anything but nothing works..
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
does anyone know what the -a in an if statement is referring to
ex...
if (6 Replies)
Discussion started by: cubs0729
6 Replies
2. Programming
my yacc output file y.tab.c is not compiling using cc y.tab.c -ly command
.possibily option flag -ly is not correct.i m using red hat linux 9.please give solutions. (4 Replies)
Discussion started by: kuldeep_bora
4 Replies
3. Shell Programming and Scripting
Hi all,
I am parsing command line options using getopts.
The problem is that mandatory argument options following ":" is taking next option as argument if it is not followed by any argument.
Below is the script:
while getopts :hd:t:s:l:p:f: opt
do
case "$opt" in
-h|-\?)... (2 Replies)
Discussion started by: gurukottur
2 Replies
4. Programming
hi everybody, can somebody tell me what -R option on g++ on solaris means :
g++ -DAIX -fpic -static -o printps printps.o -L/epost2/blitz/xercesc1_1 /lib -L/oracle/OraHome/lib32/ L/epost2/blitz/lib -lxerces-c1_1 -lhmltods -lhmlt ops -lgeneric -lnotify -lutil -lclntsh `cat... (0 Replies)
Discussion started by: eternalflame
0 Replies
5. Shell Programming and Scripting
In my ksh script, if the conditions of a if statement are true, then do nothing; otherwise, execute some commands.
How do I write the "do nothing" statement in the following example?
Example:
if (( "$x"="1" && "$y"="a" && "$z"="happy" ))
then
do nothing
else
command
command
fi... (3 Replies)
Discussion started by: april
3 Replies
6. Shell Programming and Scripting
Hi All,
I am using Unix ksh script.
I need to insert values to a table using the o/p from a slelect statement.
Can anybody Help!
My script looks like tihs.
---`sqlplus -s username/password@SID << EOF
set heading off
set feedback off
set pages 0
insert into ${TB_NAME}_D... (2 Replies)
Discussion started by: nkosaraju
2 Replies
7. Shell Programming and Scripting
To find all the files in your home directory that have been edited in some way since the last tar file, use this command:
find . -newer backup.tar.gz
Is anyone familiar with an older solution?
looking to identify files older then 15mins across several directories.
thanks,
manny (2 Replies)
Discussion started by: mr_manny
2 Replies
8. UNIX for Dummies Questions & Answers
Hi Guys,
I'm sorry but I can't find answer for this, what is the meaning of -s option in "if" statement on unix scipting. Please see sample below:
opath=/home/output
for i in N1 N2 N3 N4
do
echo $i
if
then
grep $i $opath/N5_CRAI > $opath/N5_$i.crai
chmod 777 $opath/N5_$i.crai
... (7 Replies)
Discussion started by: rymnd_12345
7 Replies
9. Shell Programming and Scripting
Hi folks,
I have a scenario to convert the update statements into insert statements using shell script (awk, sed...) or in database using regex.
I have a bunch of update statements with all columns in a file which I need to convert into insert statements.
UPDATE TABLE_A SET COL1=1 WHERE... (0 Replies)
Discussion started by: dev123
0 Replies
10. Solaris
Hi,
I installed some packages required by an app built with python.
But when I try python setup.py install, I get the following error:
/opt/csw/lib/gcc/sparc-sun-solaris2.10/5.2.0/../../../../sparc-sun-solaris2.10/bin/as: unrecognized option `-m32'
Could anyone tell me what's wrong... (4 Replies)
Discussion started by: Kimkun
4 Replies
jlha-utils(1) General Commands Manual jlha-utils(1)
NAME
jlha -- lzh decompressor/compressor
SYNOPSIS
jlha [[-]{axelvudmcp[q[num]][vnfodizg012]}[w=<dir>]] [archive_file] [file ...]
DESCRIPTION
This manual page documents briefly the jlha commands. This manual page was written for the Debian distribution because the original pro-
gram does not have a manual page.
jlha is a program extracts or creates LZH archive files.
COMMANDS AND OPTIONS
commands:
a Add files to archive
xe EXtract files from archive
l List files from archive
v Verbose list files from archive
u Update files to archive
d Delete files from archive
m Move files to archive
c Create archive
p Print archive to stdout
t Test the integrity of an archive
options:
q quiet output
v verbose output
f force overwrite existing files
t FILES are TEXT files
o[567] Change LHA compression algorithm
w=<dir> specify working directory. only works for (e/x)
d delete files after executing commands. only works for (a/u/c)
i ignore path. only works for (e/x)
z do not compress files (a/u)
0/1/2 change header level (a/u)
e convert text file encoding from/to EUC-JP
y convert filename from Shift-JIS
AUTHOR
This manual page was written by Ying-Chun Liu (PaulLiu) <grandpaul@gmail.com> for the Debian system (but may be used by others). This man-
ual page is in public domain and is freely reproduced, distributed, transmitted, used, modified, built upon, or otherwise exploited by any-
one for any purpose, commercial or non-commercial, and in any way, including by methods that have not yet been invented or conceived.
jlha-utils(1)