01-18-2011
Post your code. I have no idea why it's not working, I can't see it from here.
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi
I have a script executing fine in Unix but in linux I am getting different result.
I have three files under /local/home/temp/Gen
test.sh
list.txt
shst.txt
Contents of test.sh
--------------------------
#!/bin/ksh
K=0;
SCRIPT_DIR=/local/home/temp/Gen
cat... (2 Replies)
Discussion started by: malavm
2 Replies
2. Shell Programming and Scripting
Hi,
I am new to shell scripting and my below script is not giving result for 2 or more arguments. Can anyone help pls.
#!/bin/sh
sname=$(basename $(readlink -nf $0))
echo "This is $sname, running at $(date)"
echo "It is running on $(hostname)"
echo "Script being run by"
echo " User... (3 Replies)
Discussion started by: baigmd
3 Replies
3. AIX
my system get rebooted by its self after its came up i try to check the error log
P690/>errpt | more
Cannot open error message catalog /usr/lib/nls/msg/en_US/codepoint.cat.
The error report will still run, but it will not have explanatory messages
P690/>ls -lrt... (1 Reply)
Discussion started by: thecobra151
1 Replies
4. Shell Programming and Scripting
Hi Guys,
I am developing a script to monitor GUI based FileNet Component "Component Manager" which logs it's running status in a log file.
Log file is a huge file so in script I put last 300 lines of log file in seperate file and run script every 5 minutes.
I am searching the string... (2 Replies)
Discussion started by: dhirajdsharma
2 Replies
5. Shell Programming and Scripting
Can Anyone help with looping...
awk 'FNR==1{i++}
{for(k=1; k<=NF; k++) A=$k} # 3 Dimension Array
END{
for(i=1;i<=217;i++) # For loop 2nd File 1st and 2nd column
x=0;y=0 ... (18 Replies)
Discussion started by: Akshay Hegde
18 Replies
6. UNIX for Dummies Questions & Answers
Version: RHEL 5.8
I am doing a grep of the piped output from ps command as shown below.
I am grepping for the pattern ora_dbw* . But, in the result set I am seeing strings with ora_dbr* as well like ora_dbrm_SDLM1DAS3 as shown below. Any idea why is this happening ?
$ ps -ef | grep... (6 Replies)
Discussion started by: John K
6 Replies
7. Shell Programming and Scripting
#cat /tmp/input
old_array old_dev new_dev new_array
0577 008AB 01744 0125
0577 008AC 01745 0125
0577 008AD 005C8 0125
0577 008AE 005C9 0125
0577 008AF 005CA 0125
0577 008B0 005CB 0125
0577 008B1 005CC 0125
cat test.sh
#!/bin/ksh... (4 Replies)
Discussion started by: mbak
4 Replies
8. Shell Programming and Scripting
Hi Experts,
I have written the below script but its not working as per expectation.
My requirement is if this condition ] is satisfied
then only check for this condition ] if this also satisfied check for the condition ].
vi p_values.ksh
path="/db/ora/files"
mode=1
b_days=10... (5 Replies)
Discussion started by: nalu
5 Replies
9. Shell Programming and Scripting
Hello,
I am practising awk and decided to compare two columns and print the result of the comparison as third column
i/p data
c1,c2,c3
1,a,b
1,b,b
i am trying to compare the last two columns and if they match I am trying to print match else mismatch(Ideally i want that as a last column... (5 Replies)
Discussion started by: mkathi
5 Replies
10. Shell Programming and Scripting
Hi Gurus,
I run command grep ABC file1 > file2 against below file. I got all ABC_xxx in one line in file2. I expect to get multiple lines in file2. If I print result in screen, the result is expected.
thanks in advance
My os is SunOS 5.10 Generic_150400-64 sun4v sparc sun4v
ABC_123
XXXXX... (2 Replies)
Discussion started by: green_k
2 Replies
LEARN ABOUT DEBIAN
gnustep-examples
gnustep-examples(1) GNUstep System Manual gnustep-examples(1)
NAME
gnustep-examples - various example GNUstep tools/applications
SYNOPSIS
[ example program ]
DESCRIPTION
GNUstep Examples are a compilation of applications and tools to demonstrate and test the abilities of certain GNUstep classes. Some of
them are useful enough on their own; others are included purely for testing purposes.
Here is a short description of the programs in alphabetical order:
Calculator
Fully functional, but very simple calculator which supports only basic arithmetic functions. EdenMath(1) and Stepulator(1) are much
more user-friendly and powerful.
CurrencyConverter
Simple currency converter.
GSTest Tests for various GNUstep GUI classes, combined in one application.
Ink A text editor that supports both plain text and RTF/RTFD. Usually the "standard" test application, especially for the NSDocument
class.
md5Digest
This tool creates an md5 digest using the example filter based on what type of file is being accessed.
NSBrowserTest
Test application for the NSBrowser class.
NSImageTest
Test application for the NSImage class.
NSPanelTest
Test application for the NSPanel class.
NSScreenTest
Test application for the NSScreen class. Usually used to check the display's capabilities.
OPTIONS
All programs do not accept any options except the standard GNUstep ones. md5Digest reads files from the standard input.
SEE ALSO
GNUstep(7).
AUTHORS
The GNUstep Examples were written by various GNUstep developers.
This manual page was added by Yavor Doganov <yavor@gnu.org>.
COPYRIGHT
Copyright (C) 1997-2010 Free Software Foundation, Inc.
Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright
notice and this notice are preserved.
GNUstep May 26, 2010 gnustep-examples(1)