Search Results

Search: Posts Made By: bing
2,530
Posted By bing
thanks for all the input, this will do...
thanks for all the input,

this will do 'xyz' but for 'abc'

i would like to do a '%abc%' instead of 'abc%'.
2,530
Posted By bing
here it goes: keyword file contains xyz ...
here it goes:

keyword file contains
xyz
abc


compressed data file (file1.gz)contains

p1 123 ljojeojo
p2 124 ighsphabc
p3 125 xyzskjkejhoj
p4 126 jorjojojojojo
p5 127 XYZrgjeojho
p6...
2,530
Posted By bing
doubt tat, it returns everything. :D
doubt tat,

it returns everything. :D
2,530
Posted By bing
egrep help
hi,

i'm using egrep -i to search thru some text files for keywords (also stored in a file).

egrep does wildcard search aka %keyword%
as long as the keyword is found, it will be spool to a...
2,506
Posted By bing
hi, thanx for the prompt response. $1...
hi,

thanx for the prompt response.

$1 contains the epoch time, thus i would need to do conversion on $1 ..
also i've have to read multiple files and convert n output them to their...
2,506
Posted By bing
time conversion using nawk
hi,

i've got an input file that contains
12345678 AAA
12345679 BBB
12345680 CCC

where 1st column is epoch time while the second column are some string.

I'm using nawk to do regular...
1,604
Posted By bing
This is how the script looks like ...
This is how the script looks like

regex="abx"; for file in *.csv; do nawk -v str=$regex '{if ($6 ~ str) print $1,$3,$4}' $file >$file.out; done

i need to do regular expression using '~'.

as...
1,604
Posted By bing
hi thanx, cd /workspace/folderout din work...
hi thanx,
cd /workspace/folderout

din work properly as the input file is overwritten, i'd like to keep the original file too ..

FILENAME ".out"

there's a syntax err for this, i think...
1,604
Posted By bing
nawk newbie
hi,

i've got a number of csv files (e.g. 1.csv, 2.csv ...) in a directory to process them.

I need to read them fast and using nawk, to carry out reg expression matching, i would then output...
Showing results 1 to 9 of 9

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