10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
For a given string that may contain any ASCII chars, i.e. that matches .*,
find and print only the chars that are in a given subset.
The string could also have numbers, uppercase, special chars such as ~!@#$%^&*(){}\", whatever a user could type in
without going esoteric
For simplicity take... (1 Reply)
Discussion started by: naderra
1 Replies
2. Shell Programming and Scripting
How to print the names with a highest value within a set and filter if it is the only unique group within the same set
input
sets names value groups
j007 shot1 0.6 a
j007 shot2 0.5 b
j007 shot3 0.4 bb
j007 shot4 0.3 bc
j007 shot5 0.2 ... (8 Replies)
Discussion started by: quincyjones
8 Replies
3. Shell Programming and Scripting
I have a file that needs 1st line, 2nd line, and 26th line printed from every chunk of data. Each chunk of data contains 26 lines (#line+%line+24 data lines = 26 lines of data repeated).
Input file:
# This is a data file used for blockA (chunk 1).
% 10576 A 10 0 1
04 (data1)
03 (data2)... (2 Replies)
Discussion started by: morrbie
2 Replies
4. Shell Programming and Scripting
Hi All
I have a function in a Linux script as follows
echo `date`": Info: Started Checking File Pattern(s)"
cat ${CM_FILE_SPLIT_LST} | while read SPLIT_INFO
do
#lets not expand wildcards
set -f
#FILE_PATTERN=`echo ${SPLIT_INFO} | awk '{FS="|"; print $1}'`
... (6 Replies)
Discussion started by: vee_789
6 Replies
5. HP-UX
Hi,
I am using hp unix
i want to know the use of the following commands
set --
set - variable
thanks (4 Replies)
Discussion started by: gomathi
4 Replies
6. Shell Programming and Scripting
Hi everyone,
I have a program that generates logs that contains sections like this:
IMAGE INPUT
81 0 0.995 2449470 0 1726 368 1 0.0635 0.3291
82 0 1.001 2448013 0 1666 365 1 0.0649 0.3235
83 0 1.009 2444822 0 1697 371 1 ... (3 Replies)
Discussion started by: euval
3 Replies
7. Shell Programming and Scripting
when trying : set -o vi
getting error like-
: set: Syntax error
help me
Double post (of sorts). Continue here. (0 Replies)
Discussion started by: RahulJoshi
0 Replies
8. Shell Programming and Scripting
Guys any tips on printing a certain error message to stderr and exiting should a command fail within a ksh script? I'm trying to null some output files.
Touch isn't suitable as i need to null them.
print "" > file isn't suitable as i need to check elsehere for if they are 0bytes or not.
... (5 Replies)
Discussion started by: lavascript
5 Replies
9. AIX
Fairly simple question, I think. Still trying to get my head around AIX print queues. Most of our problems seem to stem from print queues going down. This generates help-desk calls when users call up to get their queues started or to get rid of the emails that qdaemon sends them.
Looking at... (0 Replies)
Discussion started by: alexop
0 Replies
10. Solaris
I want one help from you.I got one printer related task in which when user is printing some doc , Font size is big.
He want to reduce the size.we are using SUN SOLARIS (Text Based - NON GUI) operation system.
Can you tell me , what could be the reason and how to check default font size and style... (0 Replies)
Discussion started by: ahuja_kishor
0 Replies