Search Results

Search: Posts Made By: jassi10781
1,916
Posted By jassi10781
THANKS A LOT GUYS AWK DOES THE MAGIC :)
THANKS A LOT GUYS AWK DOES THE MAGIC :)
1,916
Posted By jassi10781
Combine multiline to one line with proper format
Hello Guys,

I have a file say FILE1.txt contains below data:-

A
B
C
D
E
F
G
H
I
J
K
L

I need the output in another file as FILE2 as:-

'A', 'B', 'C', 'D', 'E',
1,934
Posted By jassi10781
Replace a string with multiple lines
Hello Guys,

I need to replace a string with multiple lines.

For eg:-
ABC,DEF,GHI,JKL,MNO,PQR,STU

need to convert the above as below:-

ABC,DEF,
GHI1
GHI2
GHI3,
JKL,MNO,
PQR1
PQR2...
3,235
Posted By jassi10781
If you have ipaddr as 4.68.16.172 and trying to...
If you have ipaddr as 4.68.16.172 and trying to fetch as below:-4.68.16.172.in-addr.arpaThen use:-cat iptohostname.txt | grep "$ipaddr" | awk '{ print $1}'

Thanks
4,228
Posted By jassi10781
Combine multiline to one line till a blank line
Hello,

I have a file as :-

ABC
DEF
GHI
JKL
<BlankLine>
MNO
PQR
STU
VWX
<BlankLine>
YZA

I need it as below:-

ABCDEFGHIJKL;
MNOPQRSTUVWX;
16,135
Posted By jassi10781
it would be good if its in string
it would be good if its in string
16,135
Posted By jassi10781
Insert single quote on every word separated by comma
Hello,

I have a text file as:-ABC
BCD
CDF
DEF
EFGI need to convert as 'ABC', 'BCD', 'CDF', 'DEF', 'EFG' using a unix command

anybody can help me out on this.

Regards,
Jas


Please...
2,023
Posted By jassi10781
Extract all first numeric character from a string
Hello,

I have a file of strings a below:-

4358RYFHD9845
28/COC/UYF984
9834URD 98HJDU

I need to extract all the first numeric character of every sting as follows:-

4358
28
9834
...
1,991
Posted By jassi10781
it works.... thanks a lot.... i schedule it...
it works....
thanks a lot....
i schedule it with ora<sid> and it worked...
1,991
Posted By jassi10781
i am new to unix...can you please elaborate... ...
i am new to unix...can you please elaborate...
i schudule as root..
on command line i use ora<sid>
what to do for scheduling in same user as orasid???
1,991
Posted By jassi10781
problem with sending mail from txt file having HTML code via sendmail -t
Hi,

i have the following code in shell named as test3.sh..

#!/bin/sh
. /home/<user>/.profile
export dt=`date "+%d%b%y"`
export tim=`date "+%d%b%y %HM:%MM"`

cd
export WD=`pwd`...
Showing results 1 to 11 of 11

 
All times are GMT -4. The time now is 06:03 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy