9 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
is there any way to align my text so every column begins on the same line as the previous line?
here's my command:
printf "THEN ( ${SEARCHPATTB} = Hour = ${CALTOTB} ) %8s => %8s NOW ( ${SEARCHPATT} = Hour = ${CALTOT} ) %7s => %7s Reduced By: %7s -${RESULT}"\\n
output i'm currently getting... (2 Replies)
Discussion started by: SkySmart
2 Replies
2. UNIX for Dummies Questions & Answers
Hi,
I have a file with texts shown below,
<2013 abc
<2013 start
request pdu
dot1q
end pdu
response pdu
dot1q
end pdu
am searching for the text "dot1q" , when it matches in the file , i need the contents between "<2013 start" and "end pdu". Can some one help on this ?
... (5 Replies)
Discussion started by: giri_luck
5 Replies
3. AIX
I have two identical systems p740 with 2 lpars in each server. I dont want to install os from scratch on each lpar neither I want to use nim nor mksysb. Will it work perfectly if I install a fresh OS on 1 lpar and do alt disk clone for other lpras. My each lpar is having 2 physical disks.
Now if... (2 Replies)
Discussion started by: vjm
2 Replies
4. UNIX for Dummies Questions & Answers
Hello guys,
I hope anyone can help me with this ...
I have a file in which i have around 6000 lines of same format text like
1234567
2345678
3456789
....................
Now what I have to do is that there I have to search these numbers in another file which contains hundreds of... (1 Reply)
Discussion started by: m_usmanayub
1 Replies
5. Shell Programming and Scripting
Hi,
I want to concatenate the texts in the file but there are different scenario's.
Ist Scenario.
The contents of file has id`language,sequence number,text,language
Here id`language is a key pair to identify the correct language.
Sequnce number is the order the text being inserted.
Text... (3 Replies)
Discussion started by: vanitham
3 Replies
6. Shell Programming and Scripting
Hello,
I have two files:
File1:
a
b
c
d
File2:
b
c
e
I need 'e' as output....
Thanks..
---------- Post updated at 12:16 PM ---------- Previous update was at 12:15 PM ---------- (1 Reply)
Discussion started by: shekhar2010us
1 Replies
7. Shell Programming and Scripting
hi, i want to examine two file and write some codes to a third file. note that seperators are TAB, not space.
first file:
192.168.1.1 3
192.168.1.2 2
192.168.3.2 2
192.168.7.3 1
...
second file:
192.168.1.1 1 10.15.1.1 3 30 10.15.2.1 2 40
192.168.1.1 2 10.23.4.5... (3 Replies)
Discussion started by: gc_sw
3 Replies
8. UNIX for Dummies Questions & Answers
in Win, one can use the
Alt + 3-digit numeric code
combination to spawn any ASCII character.
Linux, OTOH has
Ctrl-Shift-U + alphanumeric code
combination to spawn any UNICODE character.
bottom line: I'd like to be able to do what Win can do, please.
I was told it was possible, but made... (5 Replies)
Discussion started by: ialoq
5 Replies
9. UNIX for Dummies Questions & Answers
ok guys, I have been given a big project, I need to implement alt boot on over 40+ servers, mainly solaris 8 and AIX 4.3, AIX 5.1. A couple of questions
1)can someone describe alt boot, my take is that if the primary disk fails(disk with root filesystems), this altboot disk takes over
2)can... (4 Replies)
Discussion started by: csaunders
4 Replies