10 More Discussions You Might Find Interesting
1. UNIX for Beginners Questions & Answers
Hi,
I am running the following:
PASS="username/password"
sqlplus -s << EOF | grep -v "^$"
$PASS
set feedback off
set heading off
set termout off
select name from v\$database ;
exit
EOF
Which gives
ERROR:
ORA-28002: the password will expire within 5 days
PSMP1 (1 Reply)
Discussion started by: newbie_01
1 Replies
2. Shell Programming and Scripting
Hi Folks,
I have a file with fields as follows which has last field in multiple lines. I would like to combine a line which has three fields with single field line for as shown in expected output. Please help.
INPUT
hname01 windows appnamec1eda_p1, ... (5 Replies)
Discussion started by: shunya
5 Replies
3. Shell Programming and Scripting
Hi,
I have a huge file with sql broken statements like:
PP3697HB @@@@0
<<<<<<Record has been deleted as per PP3697HB>>>>>>
FROM sys.xtab_ref rc,sys.xtab_sys f,sys.domp ur WHE
RE rc.milf = ur.milf AND rc.molf = f.molf AND ur.dept = 'SWIT'AND ur
.department = 'IND' AND share = '2' AND... (4 Replies)
Discussion started by: som.nitk
4 Replies
4. UNIX for Advanced & Expert Users
I have large file with data as below, in unix using sed or some cammand how to get output as below.
cat 1.txt
Normal data
1|AA|NN
4|BB|NNN
C|DDD|N
//Additional details
9C|12C|8N
Specific Details
12N|JIN|KK\NY1\
345\ABC1\KKK
90|ENO0|NDO
17|NO921|NCOKL
output shoud be as below
... (10 Replies)
Discussion started by: Tecnical_help12
10 Replies
5. Shell Programming and Scripting
I'm looking for a way to join lines in a file; e.,g consider the following
R|This is line 1
R|This is
line 2
R|This is line 3
R|This is line 4
R|This is
line 5
what i want to end up with is
R|This is line 1
R|This is line 2
R|This is line 3
R|This is line 4
R|This is line 5
so... (15 Replies)
Discussion started by: Storms
15 Replies
6. UNIX for Dummies Questions & Answers
sir... am having a data file of customer master., containing some important fields as a set one line after another.,
what i want is to have one set of these fields(rows) one after another in line.........then the second set... and so on... till the last set completed.
I WANT THE DATA... (0 Replies)
Discussion started by: KANNI786
0 Replies
7. UNIX for Dummies Questions & Answers
sir... am having a data file of customer master., containing some important fields as a set one line after another.,
what i want is to have one set of these fields(rows) one after another in line.........then the second set... and so on... till the last set completed.
... (0 Replies)
Discussion started by: KANNI786
0 Replies
8. Shell Programming and Scripting
Hello,
I'm trying to write a piece of code in awk, which should be able recognize by some regexps two lines and then join them together (maybe write them without \n would be enough, I don't know).. the thing is that every line in the file i'm working with starts with some number, for example:
... (4 Replies)
Discussion started by: midin
4 Replies
9. Shell Programming and Scripting
I have a .txt file containing lines like: ZAN ZAN name = AI_EVENT desc (further text)
ZAN ZAN name = AI_EVENT desc ...
ZAN ZAN1 name = AI_EVENT desc ...
ZAN ZAN1 name = AI_EVENT desc ...
WUR WUR name = AI_EVENT desc ...
WUR WUR name = AI_EVENT desc ...
VEN VEN name = AI_EVENT desc ...
VEN... (2 Replies)
Discussion started by: Gnollish
2 Replies
10. Shell Programming and Scripting
Hi guys,
I've got a log file which has entries that look like this:
-------------------------------------------------------------------------------
06/08/04 07:57:57
AMQ9002: Channel program started.
EXPLANATION:
Channel program 'INSCCPQ1.HSMTSPQ1' started.
ACTION:
None. ... (3 Replies)
Discussion started by: m223464
3 Replies