Find Jobs
Hire Freelancers

Shell Script to extract text from File

₹100-400 INR / hour

Færdiggjort
Slået op over 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.
Projekt-ID: 16022453

Om projektet

10 forslag
Projekt på afstand
Aktiv 6 år siden

Leder du efter muligheder for at tjene penge?

Fordele ved budafgivning på Freelancer

Fastsæt dit budget og din tidsramme
Bliv betalt for dit arbejde
Oprids dit forslag
Det er gratis at skrive sig op og byde på jobs
Tildel til:
Brug Avatar.
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 på 20 dage
5,0 (53 anmeldelser)
4,8
4,8
10 freelancere byder i gennemsnit ₹229 INR/time på dette job
Brug Avatar.
Hey there! I have read your requirement and would like to work on this project. I have already worked on similar projects
₹200 INR på 40 dage
5,0 (42 anmeldelser)
5,1
5,1
Brug Avatar.
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 på 4 dage
5,0 (54 anmeldelser)
5,2
5,2
Brug Avatar.
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 på 40 dage
5,0 (30 anmeldelser)
4,8
4,8
Brug Avatar.
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 på 40 dage
4,9 (24 anmeldelser)
3,9
3,9
Brug Avatar.
A proposal has not yet been provided
₹277 INR på 7 dage
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
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 på 4 dage
0,0 (0 anmeldelser)
0,0
0,0
Brug Avatar.
A proposal has not yet been provided
₹111 INR på 3 dage
0,0 (0 anmeldelser)
0,0
0,0

Om klienten

Flag for INDIA
Bangalore, India
4,9
89
Betalingsmetode verificeret
Medlem siden sep. 5, 2011

Klientverificering

Tak! Vi har sendt dig en e-mail med et link, så du kan modtage din kredit.
Noget gik galt, da vi forsøgte at sende din mail. Prøv venligst igen.
Registrerede brugere Oprettede jobs i alt
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Indlæser forhåndsvisning
Geolokalisering er tilladt.
Din session er udløbet, og du er blevet logget ud. Log venligst ind igen.