10 More Discussions You Might Find Interesting
1. Solaris
Good morning,
I` am trying to make a separate X screens on x86 machine
Dell XE2 Intel i5 2.5Ghz .
Video : Xeon E3-1200 v3/4 Gen Core Processor Integrated Graphics processor
Using Solaris 11.3
Release: kernel SunOS 5.11
Gnome 2.30.2
So right now I have tried to change... (4 Replies)
Discussion started by: defs
4 Replies
2. UNIX for Beginners Questions & Answers
Hi, Below command is working as expected, but would like to know how to club the two AWK scripts in the command into one
echo -e "MMS000101S0203430A|20180412E|\nMMB0001INVESTMENT||107-86193-01-03|\nMMB0001FUND||107-86193-04-01|\nMMC9991 " | awk -F'|' -v OFS=, '/^MMC9991/{print r"|"s,t; next}... (3 Replies)
Discussion started by: JSKOBS
3 Replies
3. Shell Programming and Scripting
Hi,
I have a problem with a SED script that works fine on AIX but does not work properly on a Solaris system.
The ksh script executes the SED and puts the output in HTML in tables.
But the layout of the output in HTML is not shown correctly(no tables, no color). Can anyone tell if there is... (7 Replies)
Discussion started by: Faith111
7 Replies
4. Shell Programming and Scripting
Hi All,
I have three separate text files which has only one line and i want to combine these lines in one text file which will have three lines.
cat file1.txt
abc
cat file2.txt
1265 6589 1367
cat file3.txt
0.98 0.36 0.5
So, I want to see these three lines in the... (9 Replies)
Discussion started by: senayasma
9 Replies
5. Shell Programming and Scripting
Hi,
My script is working fine in AIX but throwing an error in SOLARIS system.
Here is the error message that I am getting when calculating the elapsed time:
/home/x772525/FindETA.sh: start_mins = *60 + : syntax error
.
((start_mins = $(expr substr "$j" 1 2)*60 + $(expr substr "$j" 4... (6 Replies)
Discussion started by: ajayakunuri
6 Replies
6. Shell Programming and Scripting
I need to combine two scripts, into one script. One is to delete something, the to recreate. Here is the scripts:
BIN=/usr/lbin
LINE='device for 0101a01: lpd://172.25.41.111:515'
while read LINE
do
prt=`echo $LINE | awk '{print $3 }'| cut -c 1-7`
echo $prt
#drv=`echo $LINE | awk -F":"... (4 Replies)
Discussion started by: ggoliath
4 Replies
7. Shell Programming and Scripting
I havet two books, one in Swedish, the other in English.
Two text files. I want to combine them into one, with each sentence having it's translation next to it.
------------
Text file one.
Example sentence in English. Example 2 sentence 2 in English 2.
--------------
Text file two.
... (2 Replies)
Discussion started by: LaraMej
2 Replies
8. UNIX for Dummies Questions & Answers
Hi,
How to separate numbers and words(with full alphabets) in a particular file and store it in two different files.
Please help me out for this.Using shell scripting.
:confused::confused: (1 Reply)
Discussion started by: kamakshi s
1 Replies
9. Shell Programming and Scripting
hi,
to all
give me some idea below scripts
file=`cat filelist`
for filename in $file
do
awk '{
if ($0 ~ /system/ && flag == 0) {
flag=1;
print $0;
}
else if ($0 ~ /system/ && flag == 1) {
printf("%s SYSLAY %s %s %s\n",$1,$3, $4, $5);
}
else
print $0;
}' $filename >... (6 Replies)
Discussion started by: LAKSHMI NARAYAN
6 Replies
10. AIX
Hi,
Please give me the detailed Differences between writing Unix Shell script and AIX Shell Scripts. Thanks in advance..... (0 Replies)
Discussion started by: haroonec
0 Replies