LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > LinuxQuestions.org > LinuxQuestions.org Member Intro
User Name
Password
LinuxQuestions.org Member Intro New to LinuxQuestions.org? Been a long time member but never made a post? Introduce yourself here.

Notices


Reply
  Search this Thread
Old 10-20-2018, 02:55 PM   #1
anweshbabu
LQ Newbie
 
Registered: Jul 2018
Posts: 3

Rep: Reputation: Disabled
Zgrep not considering Special characters


iam trying to zgrep the zipped file when iam using multiple strings which has special charaters it is not working
zgrep -ia -E '*"Item":"2"*|*RETAIL*|*erro142*' Applicationlog.tar.gz



zgrep is not considering the text which has special characters "Item":"2"

Do u have any solution for it
 
Old 10-20-2018, 08:15 PM   #2
lougavulin
Member
 
Registered: Jul 2018
Distribution: Slackware,x86_64,current
Posts: 279

Rep: Reputation: 100Reputation: 100
I built a Applicationlog.tar.gz on my own, just to check and on my system your command is working.
Quote:
auenu "Item":"2"
etant RETAIL antea
So, you should probably say :
- on which system are you ?
- what zgrep version do you use ?
- how do you build Applicationlog.tar.gz ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] special characters help? bednarjm Fedora 8 06-18-2012 09:09 PM
Special Characters SimeonV SUSE / openSUSE 14 07-07-2006 01:29 PM
special characters greenbox Linux - Software 9 12-23-2005 07:33 PM
Special characters consty Programming 3 08-07-2005 05:53 AM
using special characters one_ro Mandriva 5 11-04-2004 08:52 AM

LinuxQuestions.org > Forums > LinuxQuestions.org > LinuxQuestions.org Member Intro

All times are GMT -5. The time now is 01:58 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration