Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Open Source > BOOK Beginning Linux Programming, 3rd Edition
Password Reminder
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK Beginning Linux Programming, 3rd Edition
This is the forum to discuss the Wrox book Beginning Linux Programming, 2nd Edition by Richard Stones, Neil Matthew, Alan Cox; ISBN: 9780764543739
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK Beginning Linux Programming, 3rd Edition section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Thread Tools Display Modes
  #1 (permalink)  
Old November 23rd, 2005, 11:48 AM
Registered User
Join Date: Nov 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default grep e$ words2.txt doesn't work

Does anyone know why the command grep e$ words2.txt (shown on page 68) doesn't work? I know than it is supposed to print out all lines in words2.txt which end with e but for some reason it doesn't.

I have tried grep e\$ words2.txt and grep -E 'e$' words2.txt but these don't work either.

Any suggestions? This is really starting to bug me.

  #2 (permalink)  
Old December 12th, 2005, 01:46 PM
Registered User
Join Date: Nov 2005
Location: , , .
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts

Made a mistake forgot to use the following vi commands in order to change download files to unix format:

:set filename=unix

The files were previously msdos format(why?)



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

Similar Threads
Thread Thread Starter Forum Replies Last Post
grep-search for text within files, within folders crmpicco Linux 2 September 1st, 2007 10:23 AM
grep, sort with pipe BrendonMelville Linux 1 October 25th, 2006 11:46 AM
DATE within txt box alannoble Excel VBA 1 December 22nd, 2004 11:36 AM
Getting a search txt box to work JJ Access VBA 4 October 23rd, 2003 10:19 AM

All times are GMT -4. The time now is 11:39 PM.

Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.