9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi All,
I have a requirement where i need to NDM 3 files from LINUX to Mainframe system & trigger a job in mainframe once the 3 files are transmitted successfully.
I am getting an error message in the && operator (the code component where i am checking whether step 1/2/3 are completed).
... (2 Replies)
Discussion started by: dsfreddie
2 Replies
2. UNIX for Dummies Questions & Answers
Hello,
In manpage magic(5)
"
The “B” flag compacts whitespace in the target, which must contain at least one whitespace character. If the magic has n consecutive blanks, the target needs at least n consecutive blanks to match. The “b” flag treats every blank in the target as an optional... (4 Replies)
Discussion started by: segmentation
4 Replies
3. Shell Programming and Scripting
Hi
What is the syntax for if statement using && and || operator?
if && ] ||
here its giving me an error to this if statement
any suggestion?? (2 Replies)
Discussion started by: Avi
2 Replies
4. Shell Programming and Scripting
"Both cases have to be true for the expression to evaluate "true". is that not so.
the following code does a read from a txt file, an then suppose to do the deletion ,but although the condition exists, its not performing the deletion
&&
echo "\n\t Deleting printer ${prt} !!!"
if !... (5 Replies)
Discussion started by: ggoliath
5 Replies
5. UNIX for Dummies Questions & Answers
hi i am having issues with extra pipe.
i have a data file and i need to remove the extra pipe in the(example 4th and 7thline) in datafile. there are many other line and filed like this which i need to remove from files. The sample data is below:
270 31|455004|24/03/2010|0001235|72
271... (3 Replies)
Discussion started by: abhi_n123
3 Replies
6. UNIX for Dummies Questions & Answers
Hello,
When I boot up my ancient SUNOS 5 system. it stops at the OK prompt and complains about a bad magic number. I have told that I need run fsck but I cannot seem to do so from the OK prompt. How can I get into a diagnostic mode so I can run fsck?
Thanks, (1 Reply)
Discussion started by: mojoman
1 Replies
7. UNIX for Dummies Questions & Answers
I get the following error
./get_NE05: line 42:
while
do
echo ${STRING_NAME}
J=1
if ; then
EXT=0$I
else
EXT=$I
fi
while
do
echo $I-$J
#calculating last occurrence
OCCURRENCE=`grep -io "${STRING_NAME}"... (3 Replies)
Discussion started by: f_o_555
3 Replies
8. Shell Programming and Scripting
VARIABLE="project"
if && ]
then
echo "VARIABLE is not empty"
fi
this is not working what is wrong in the syntax?? (2 Replies)
Discussion started by: codeman007
2 Replies
9. Programming
#include <iostream.h>
class test
{
private:
int i;
public:
inline test(int m)
{
i = m;
}
inline int get_i()
{
return i;
}
};
int main()
{
test * a = new test(2); (3 Replies)
Discussion started by: xbjxbj
3 Replies