Search Results

Search: Posts Made By: lathigara
1,290
Posted By lathigara
1,519
Posted By lathigara
i am geting some error while using below command ...
i am geting some error while using below command
awk -F '|' 'FILENAME=="File1" {arr[$1]=$0;next }
FILENAME=="File2" ||
FILENAME=="File3" {arr$[1]=arr[$1}...
1,519
Posted By lathigara
Joining three files with uniq no.
Hi I have three files which looks like as below with first 11byte is unique as a serial no.(eg.0X000000001,0X000000002,0X000000003)

File1
0X000000001|00XXX|D3|F2|C3|A6|1|...
1,026
Posted By lathigara
Renaming portion of multiple files
Hi,

I have some files as below.
Temp6001_5025.cpp
Temp6002_5025.cpp
Temp6003_5025.cpp
Temp6004_5025.cpp
Temp6005_5025.cpp
Temp6006_5025.cpp
Temp6007_5025.cpp
.
.
Temp6100_5025.cpp

i...
3,417
Posted By lathigara
Hi, Yes each SEQUENCE is having starting...
Hi,

Yes each SEQUENCE is having starting like REC# 1 with SEQUENCE NUMBER: 56000000001 and ended with * **** END OF AUDIT REPORT *** as mentioned below but there is no start and end as you...
3,417
Posted By lathigara
Hi sorry if you are not understanding or I...
Hi sorry if you are not understanding or I interpreted wrongly my qst.

Please I am repeating my qst.
The file is like as below.
There is one file which contains almost 1000K records.
All...
3,417
Posted By lathigara
hi itkamaraj, as you mentioned for loop for...
hi itkamaraj,

as you mentioned for loop for 5 line count and if we dont know the line count then what can be command?

prashant
3,417
Posted By lathigara
hi itkamaraj, i made small changes in your...
hi itkamaraj,

i made small changes in your command that i changes sequence no and now i am fetching only first five record from a file which is having as of now 10 records using below command....
3,417
Posted By lathigara
hi itkamaraj thanks for updates. some how i...
hi itkamaraj thanks for updates.

some how i am geting error at the time of running your command.
awk: syntax error near line 1
awk: bailing out near line 1

and i am not getting why this...
3,417
Posted By lathigara
Hi i elixir_sinari ran your commmand but it is...
Hi
i elixir_sinari ran your commmand but it is not producing any output.
plz see below.
where extract.txt contain records just for e.g. i m running for two records that is 87 and 88 no from the...
3,417
Posted By lathigara
i tried that but i want to fetch 100k record...
i tried that but i want to fetch 100k record which is uniq for this file as i told you the sequnce can be.
SEQUENCE NUMBER: 06000000001
SEQUENCE NUMBER: 06000000002
SEQUENCE NUMBER: 06000000003
....
3,417
Posted By lathigara
output will be 100k records. The one which...
output will be 100k records.

The one which i pinged is one record and i want to fetch 100k record from a file having 1000k file.

...
3,417
Posted By lathigara
Fetching record based on Uniq Key from huge file.
Hi i want to fetch 100k record from a file which is looking like as below.
...
4,070
Posted By lathigara
12) clear echo "Enter model no for searching...
12)
clear
echo "Enter model no for searching string inside makefile"
read inputs2
find /pools/home_unix/sapte/work/models/model/$inputs2 -name "makefile" | xargs grep "attr" \;
;;
echo "Hit...
4,070
Posted By lathigara
Syntax error near unexpected token `"Hit <ENTER> to continue:"'
the below code will search attr string inside makefile under the modelno on given path.

echo "Enter model no for searching string inside makefile"
read inputs2
#find...
1,241
Posted By lathigara
because of error i have commented it. ...
because of error i have commented it.

prashant
1,241
Posted By lathigara
Hi.. thanks for the same. There are only...
Hi..
thanks for the same.

There are only two files makefile and makefile.scpd and i need to search predefined string say rms, ams etc inside that files.

Thanks prashant

---------- Post...
1,241
Posted By lathigara
Hello, There are predefined path and...
Hello,

There are predefined path and predefined files under that path.
I want to search some string inside that file and if found then proper msg should be displayed.

and i want to do this...
1,241
Posted By lathigara
want to search some content of the file with specific to user
I have some users in one unix system and i want to search some files with specific to user and then i want to find some content inside that file so can u help me how we can implement it?

File...
1,368
Posted By lathigara
ya scott it is working fine thanks for the...
ya scott it is working fine thanks for the same...prashant..
1,368
Posted By lathigara
Scott thanks for reply now i am geting...
Scott thanks for reply

now i am geting another error which is as below.

enter option for checking specific user xml files to delete...
1,368
Posted By lathigara
Error while executing switch case for find and replace specific file. Help Me...
case "$inputs" in
sapte)
find /pools/home_unix/sapte/work/models/model -name "*.xml" exec rm -i {} \;;
ckm1)
find /pools/home_unix/ckm1/work/models/model -name "*.xml" exec rm -i {}
\;;

I...
Showing results 1 to 22 of 22

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