Search Results

Search: Posts Made By: patric2326
12,270
Posted By patric2326
Thanks to ALL for your reply. For reply:1 ->...
Thanks to ALL for your reply.
For reply:1 -> I'm getting the output as:
awk '/^ /' infile
_1bbb yes
c-ccc yes
eeeee yes
ff yes

But when I tried something as below, inorder to do...
12,270
Posted By patric2326
String starting with blank space
[quotes]
Dear Masters,

Need your help for this small query.
I am trying to get all the strings that starts with a blank space as output.
Limitation is , it should be done only through AWK.
...
1,330
Posted By patric2326

1,330
Posted By patric2326
String manipulation row by row
Hi Corona688,

Their is slight change in the "idxout.txt" file and when I executed your command I'm getting weired output. And the output I require should be something as attached "reqidxout.txt"....
1,330
Posted By patric2326
String manipulation row by row
Perfect !!!

This is exactly I was looking for.

Thanks for your quick response.

Regards:b:
1,330
Posted By patric2326
String manipulation row by row
Dear masters,

I stuck again in a very tricky situation,so need your valuable inputs. I have a file [idxout.txt as attached] having rows as below:

_Db
_Database 1023 1...
2,601
Posted By patric2326
Great !!! It worked now. Thanks you all for...
Great !!!
It worked now.
Thanks you all for your quick reply.
2,601
Posted By patric2326
Text Processing with a line break
Getting the same output:
FYI, I've attached the text file which are to be processed.

>perl -0ple 's/\n(?!_)(?!$)//g' breakline
_Index 187 18.4K 92 137 100 ...
2,601
Posted By patric2326
Text Processing with a line break
I tried your command but I got the output as below:
All rows are getting concatenated instead of the rows that are broken into two rows. I searched the net and found something as
sed -e :a -e...
2,601
Posted By patric2326
Text Processing with a line break
Dear Masters,

Need your help to process the below file named "breakline". At some places the rows are broken into two lines [for exp: for _sec-authentication-domain and...
2,010
Posted By patric2326
Thanks for your input. Yes, I do need the...
Thanks for your input.

Yes, I do need the quotes also.
2,010
Posted By patric2326
Array in unix
Dear masters,

Need your help for my below query.
Actually my script is as shown:

#!/usr/bin/ksh
pp='"aa bb" cc dd'
set -A mon -- $pp
echo ${mon[0]}
echo ${mon[1]}
echo ${mon[2]}

But...
Showing results 1 to 12 of 12

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