Find Jobs
Hire Freelancers

Write shell script using awk/grep command and print success/failure for matched keywords

₹600-1500 INR

Completed
Posted about 8 years ago

₹600-1500 INR

Paid on delivery
I have a log file and I am trying to write a shell script to find pause/play happening or not (Success /Failure). The script should do the following: if ("trickModeRequest":{"rate":0.0}) { if ("status":"OK") printf("Pause Successful"); else if ("status":"GENERAL_ERROR") printf("Pause failed"); else if ("status":"UNRECOGNIZED REQUEST") printf("Pause failed"); } Similarly: if ("trickModeRequest":{"rate":1.0}) { if ("status":"OK") printf("Play Successful"); else if ("status":"GENERAL_ERROR") printf("Play failed"); else if ("status":"UNRECOGNIZED REQUEST") printf("Play failed"); } Script file ([login to view URL]) and log file are attached Run the following command :sh [login to view URL] [login to view URL]
Project ID: 9748344

About the project

1 proposal
Remote project
Active 8 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
Awarded to:
User Avatar
Hi, I work with high and quick response. Try my best to get your commends Hope be awarded the project. Thanks
₹800 INR in 1 day
0.0 (0 reviews)
0.0
0.0

About the client

Flag of INDIA
Bangalore, India
5.0
12
Payment method verified
Member since Oct 10, 2013

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.