Find Jobs
Hire Freelancers

Shell Script to extract text from File

₹100-400 INR / hour

Fullført
Lagt ut omtrent 6 år siden

₹100-400 INR / hour

HI - I am looking for a Shell Script which can extract Text from the file. I have a logfile with name Server.log. It contains logs of a process. On any incident occurrence one KeyLine is being printed in log file as "Process Ends With ID# <16Digit Process ID>" I want to find all the such occurrence in the file and extract 2000 lines before this KeyLine and 1000 Lines after this KeyLine and Save in log with with name <16Digit Process ID>.log. The script should not be giving error for cases like if number of lines below KeyLine is less than 1000 then it should print all the lines below that <16Digit Process ID>rather giving exception of not having 1000 lines.
Prosjekt-ID: 16022453

Om prosjektet

10 forslag
Eksternt prosjekt
Aktiv 6 år siden

Ønsker du å tjene penger?

Fordeler med budgivning på Freelancer

Angi budsjettet og tidsrammen
Få betalt for arbeidet ditt
Skisser forslaget ditt
Det er gratis å registrere seg og by på jobber
Tildelt til:
Brukeravatar
I have 2+ years of working experience in shell scripting. I have done a lot of projects. Looking forward for a positive response from you.
₹166 INR om 20 dager
5,0 (53 omtaler)
4,8
4,8
10 freelancers are bidding on average ₹229 INR/time for this job
Brukeravatar
Hey there! I have read your requirement and would like to work on this project. I have already worked on similar projects
₹200 INR om 40 dager
5,0 (42 omtaler)
5,1
5,1
Brukeravatar
As shell scripts are not flexible enough, i would suggest to use a python script for this, which i will make for you, you will notice no difference as it will run like a normal script(just replace the shebang header), python had many complex tools and better regex support to do this
₹277 INR om 4 dager
5,0 (54 omtaler)
5,2
5,2
Brukeravatar
Hi Im a SOFTWARE ENGINEER and have a expert team of dev im also a dev i can provide u quality of work , we had DONE many task in those language which u required , i saw ur description we can do this job waiting for ur response Thanku
₹111 INR om 40 dager
5,0 (30 omtaler)
4,8
4,8
Brukeravatar
Hi there, I am an experienced system administrator and script writer. I can complete your project. I have already completed a number of projects related to shell scripting. You can check one here: https://www.freelancer.com/projects/php/write-simple-bash-script/ Please contact for further discussion. Thanks and regards!!!
₹200 INR om 40 dager
4,9 (24 omtaler)
3,9
3,9
Brukeravatar
A proposal has not yet been provided
₹277 INR om 7 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
Hi , I can get this job done in less than 5 hours in python, i think my work will meet your expectations and thank you for choosing me. Relevant Skills and Experience I have experience with python , i use linux as my main OS and with creativity, everything's possible.
₹333 INR om 4 dager
0,0 (0 omtaler)
0,0
0,0
Brukeravatar
A proposal has not yet been provided
₹111 INR om 3 dager
0,0 (0 omtaler)
0,0
0,0

Om klienten

INDIAs flagg
Bangalore, India
4,9
89
Betalingsmetode bekreftet
Medlem siden sep. 5, 2011

Klientbekreftelse

Takk! Vi har sendt deg en lenke for at du skal kunne kreve din gratis kreditt.
Noe gikk galt. Vær så snill, prøv på nytt.
Registrerte brukere Publiserte jobber
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Forhåndsvisning innlasting
Tillatelse gitt for geolokalisering.
Påloggingsøkten din er utløpt og du har blitt logget ut. Logg på igjen.