09-02-2018
Quote:
Originally Posted by
annacreek
Perhaps even after my sermon you would be kind enough to explain the syntax you used.
Hi, annacreek
I do not mean to offend you but I suggest you stop the sermons and place more pondering to what willing people is telling you.
I understand code but I do know what's in your head when you wrote what you posted and certainly the snippets you posted do not make it easy to understand nor does it help with the intention and desired output.
It would be helpful to always craft a desirable output and post it if the one you are getting is not right, specially if it is not obvious from the code. I do not think you can make that determination, so you can err in the side of cautions and communicate what that desired output should be.
It will help if you remove the line numbers from your script post and do not make manual edits that are not part of the correct syntax of the language you are using.
This is as far as my kindness goes.
These 3 Users Gave Thanks to Aia For This Post:
10 More Discussions You Might Find Interesting
1. HP-UX
I have been fine adding/removing printers up until this week. Now when I go to add a new remote printer I get "corrupted member file". I go to /etc/lp/member and the byte count on the new printer name is 0. I VI the file and put /dev/null in to make it the correct size and it all looks fine and... (2 Replies)
Discussion started by: astout
2 Replies
2. UNIX for Advanced & Expert Users
Hi Gurus,
I am having an requirement. i have to read a list file which contains file names and send mail to different users based on the files in the list file.
eg. if file a.txt exists then send a mail to a@a.com
simillary for b.txt,c.txt etc.
Thanks for your help,
Nimu (6 Replies)
Discussion started by: nimu1979
6 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I'm trying to send a file to a remote host on a DG/UX system connected directly to a serial port of a computer, but every time I try to send the file, the remote host cannot recieve it (the download screen hangs, some wierd characters are displayed when I type the rz command).
I tried... (1 Reply)
Discussion started by: danceofillusion
1 Replies
4. UNIX for Dummies Questions & Answers
Hi
Here is my script:
#!/bin/bash
set -x
dir="/var/local/dsx/import"
gawk -F, '
$1 == last1 && $2 == last2 {
printf $0"\n" >> $dir/$2
}
$1 !=last1 || $2 != last2 {
printf $0"\n" >> $dir/$2
}
{
last1=$1
last2=$2
} (11 Replies)
Discussion started by: ladyAnne
11 Replies
5. UNIX for Dummies Questions & Answers
Help me. .i want to send a file from one terminal to another terminal . .how to do that???
thnx in advance . .:) (2 Replies)
Discussion started by: Nagaraju.s
2 Replies
6. Shell Programming and Scripting
Hi everyone
I have one question about using array in perl. let say I have several log file in one folder.. example
test1.log
test2.log
test3.log
and the list goes on..
how to make an array for this file? It suppose to detect log file in the current directory and all the log file will... (3 Replies)
Discussion started by: sayachop
3 Replies
7. Shell Programming and Scripting
ok, so here is the issue, I have 2 arrays.
I need to be able to create a loop that will find ${ARRAY1 in the text doc, and replace it with ${ARRAY2 then write the results. I already have that working. The problem is, I need it to do that same result across however many items are in the 2... (2 Replies)
Discussion started by: gentlefury
2 Replies
8. Shell Programming and Scripting
Trying to do some control flow parsing based on the index postion of an array member. Here is the pseudo code I am trying to write in (preferably in pure bash) where possible. I am thinking regex with do the trick, but need a little help.
pesudo code
if == ENDSINFIVEINTS ]]; then
do... (4 Replies)
Discussion started by: briandanielz
4 Replies
9. UNIX for Dummies Questions & Answers
Hello All,
I am new to unix scripting and wanted to know, is it possible if we find any null value or blank record in the text file.
For example we have a text file with only one column and there are 90 records.
But some times we will have a null value or blank row record in the text file.
I... (4 Replies)
Discussion started by: Ram11111
4 Replies
10. UNIX for Beginners Questions & Answers
Hi,
This is the content of a file name "test.sh":
#!/bin/bash
if ; then
echo "I am Here"
fi
When runing the command:
./test.sh chair table
The echo command "I am Here" will appear only based on the second value, in other words only if the there is no file name "table" regardless if... (1 Reply)
Discussion started by: uniran
1 Replies
LEARN ABOUT CENTOS
clacrm
clacrm.f(3) LAPACK clacrm.f(3)
NAME
clacrm.f -
SYNOPSIS
Functions/Subroutines
subroutine clacrm (M, N, A, LDA, B, LDB, C, LDC, RWORK)
CLACRM multiplies a complex matrix by a square real matrix.
Function/Subroutine Documentation
subroutine clacrm (integerM, integerN, complex, dimension( lda, * )A, integerLDA, real, dimension( ldb, * )B, integerLDB, complex, dimension(
ldc, * )C, integerLDC, real, dimension( * )RWORK)
CLACRM multiplies a complex matrix by a square real matrix.
Purpose:
CLACRM performs a very simple matrix-matrix multiplication:
C := A * B,
where A is M by N and complex; B is N by N and real;
C is M by N and complex.
Parameters:
M
M is INTEGER
The number of rows of the matrix A and of the matrix C.
M >= 0.
N
N is INTEGER
The number of columns and rows of the matrix B and
the number of columns of the matrix C.
N >= 0.
A
A is COMPLEX array, dimension (LDA, N)
A contains the M by N matrix A.
LDA
LDA is INTEGER
The leading dimension of the array A. LDA >=max(1,M).
B
B is REAL array, dimension (LDB, N)
B contains the N by N matrix B.
LDB
LDB is INTEGER
The leading dimension of the array B. LDB >=max(1,N).
C
C is COMPLEX array, dimension (LDC, N)
C contains the M by N matrix C.
LDC
LDC is INTEGER
The leading dimension of the array C. LDC >=max(1,N).
RWORK
RWORK is REAL array, dimension (2*M*N)
Author:
Univ. of Tennessee
Univ. of California Berkeley
Univ. of Colorado Denver
NAG Ltd.
Date:
September 2012
Definition at line 115 of file clacrm.f.
Author
Generated automatically by Doxygen for LAPACK from the source code.
Version 3.4.2 Tue Sep 25 2012 clacrm.f(3)