01-20-2018
AFAIR it looks at the logging first, and if positive does not look at the clean flag.
This User Gave Thanks to MadeInGermany For This Post:
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
while (my $row = $sth->fetchrow_arrayref) {
$var->{"@$row"}=" ";
}
Can anyone help me understanding above mentioned.
i) As per my knowledge $row is taking ARRAY Refernce from the database
ii) @$row is containing the value of 0th index of the array, testted the same.
but I am not able... (0 Replies)
Discussion started by: jaigs_27
0 Replies
2. Shell Programming and Scripting
Hi,
Could someone pls help me on the below command:
if
then
------------------
------------
fi
if
then
-------------
-------------------
-------------------
fi
What does this signify?
Thanks,
.. (4 Replies)
Discussion started by: ww26683
4 Replies
3. Shell Programming and Scripting
Hi,
I am new into UNIX shell scripting and I am wondering what is the meaning of the below text which appears at the end of each line in the ".sh" file:
> /dev/null 2>&1
For example, the line below:
sh $HOME/stats/Rep777/Act_777.sh omc omc > /dev/null 2>&1
I know for sure what "sh... (10 Replies)
Discussion started by: salanalani
10 Replies
4. UNIX for Dummies Questions & Answers
Hi:
How can I remove my own post?
Thanks. (2 Replies)
Discussion started by: phil518
2 Replies
5. Shell Programming and Scripting
I need to sort the following file by the rhdiskpower devices in the last column:
Total_MB Free_MB OS_MB Name Failgroup Library Label UDID Product Redund Path
1024 851 1024 OCRVOT1_0000 OCRVOT1_0000 System UNKNOWN ... (3 Replies)
Discussion started by: wjssj
3 Replies
6. Shell Programming and Scripting
Hi,
I have line in input file as below:
3G_CENTRAL;INDONESIA_(M)_TELKOMSEL;SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL
My expected output for line in the file must be :
"1-Radon1-cMOC_deg"|"LDIndex"|"3G_CENTRAL|INDONESIA_(M)_TELKOMSEL"|LAST|"SPECIAL_WORLD_GRP_7_FA_2_TELKOMSEL"
Can someone... (7 Replies)
Discussion started by: shis100
7 Replies
7. UNIX for Dummies Questions & Answers
Hi, What means "##*", "% *" in a variable??
I have this in the script that i'm reading:
...
read line
echo $line
echo ${line#* }
echo ${line##* }
echo ${line% * }
...
The first print:
DN: RCROOT ONRM_ROOT_MO SNW ONRM_ROOT_MO BSC BSCCC2 BTS ALTOHATILLONOR
The second print:... (2 Replies)
Discussion started by: darocham
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
Hello.
System : opensuse leap 42.3
I have a bash script that build a text file.
I would like the last command doing :
print_cmd -o page-left=43 -o page-right=22 -o page-top=28 -o page-bottom=43 -o font=LatinModernMono12:regular:9 some_file.txt
where :
print_cmd ::= some printing... (1 Reply)
Discussion started by: jcdole
1 Replies
SIGNAL(3F) SIGNAL(3F)
NAME
signal - change the action for a signal
SYNOPSIS
integer function signal(signum, proc, flag)
integer signum, flag
external proc
DESCRIPTION
When a process incurs a signal (see signal(3C)) the default action is usually to clean up and abort. The user may choose to write an
alternative signal handling routine. A call to signal is the way this alternate action is specified to the system.
Signum is the signal number (see signal(3C)). If flag is negative, then proc must be the name of the user signal handling routine. If
flag is zero or positive, then proc is ignored and the value of flag is passed to the system as the signal action definition. In particu-
lar, this is how previously saved signal actions can be restored. Two possible values for flag have specific meanings: 0 means "use the
default action" (See NOTES below), 1 means "ignore this signal".
A positive returned value is the previous action definition. A value greater than 1 is the address of a routine that was to have been
called on occurrence of the given signal. The returned value can be used in subsequent calls to signal in order to restore a previous
action definition. A negative returned value is the negation of a system error code. (See perror(3F))
FILES
/usr/lib/libU77.a
SEE ALSO
signal(3C), kill(3F), kill(1)
NOTES
f77 arranges to trap certain signals when a process is started. The only way to restore the default f77 action is to save the returned
value from the first call to signal.
If the user signal handler is called, it will be passed the signal number as an integer argument.
4.2 Berkeley Distribution May 15, 1985 SIGNAL(3F)