nixCraft Linux / UNIX / Shell Scripting Forum

nixCraft

Linux / UNIX Tech Support Forum

grep repeated characters

This is a discussion on grep repeated characters within the Shell scripting forums, part of the Development/Scripting category; Hi How can I grep dictionary to find words as lightweight with the same four characters (namely ight) repeated. So ...


Register free or login to your account to remove all advertisements.

Go Back   nixCraft Linux / UNIX / Shell Scripting Forum > Development/Scripting > Shell scripting

Linux answers from nixCraft.


Shell scripting You can discuss the shell scripting, request shell scripts and scripting techniques

Reply

 

Thread Tools Display Modes
  #1 (permalink)  
Old 28th October 2008, 03:20 PM
Junior Member
 
Join Date: Dec 2007
OS: Ubuntu
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Rep Power: 0
gyterpena is on a distinguished road
Default grep repeated characters

Hi
How can I grep dictionary to find words as lightweight with the same four characters (namely ight) repeated.
So far I have this but it does not work. grep '....'*\1 words
Thank
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads

Thread Thread Starter Forum Replies Last Post
Grep numbers from file. eawedat Shell scripting 3 16th August 2008 08:23 AM
How to grep the date range sainipardeep Shell scripting 13 26th June 2008 07:34 AM
How can I get some specific characters of dd command output warren Shell scripting 2 24th May 2006 03:59 PM
deleting files created with special characters in solaris Solaris/OpenSolaris 1 11th January 2006 10:59 PM
Grep and remove files Linux software 1 5th January 2006 06:25 PM


All times are GMT +5.5. The time now is 08:57 PM.


Powered by vBulletin® Version 3.8.6 - Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.2
©2005-2010 nixCraft. All rights reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40