![]() Vi(1) Tips,: Essential Vi/Vim Editor Skills $24.99 I agree with just about everything that appeared in [...] review. Jacek Artymiak has written a sort of "vi(1) for the Desperate" covering all of the aspects of vi I would like to see addressed. I could see this book used in an introductory Unix class where the students are expected to try all of the examples. Jacek posted the sample files used in the book examples at [...], so you can easily follow along. I have one minor point that might help vi users. On p 13 Jacek discusses Switching Between Files. This vi feature is helpful when a user opens several files for editing. Users can easily move forward through a list of files using the :n command. However, the Ctrl+^ command only returns to the last file viewed. If you have three files open, for example, and you move from 1 to 2 to 3, you won't be able to return to file 1 by using Ctrl+^. However, you can invoke the :e filename command, e.g., ,:e 1, to return to file 1. I couldn't find a way to cycle back through a list of files, as you could go forward with :n. I'd like to see a future printing make this situation clear. Anyone who uses Unix should understand vi, so I recommend this book as a resource for those who like to learn by reading a printed book and following exercises supported by example files. ![]() Vim & Vinegar: Moisten Cakes, Eliminate Grease, Remove Stains, Kill Weeds, Clean Pots & Pans, Soften Laundry, Unclog Drains, Control Dandruff, Season Salads $11.00 Of particular interest in this book is the non-toxic way to unclog drains. This is a "green" book with counless ways offered for cleaning around the house and yard, as well as doing your laundry without using harmful chemicals (earth friendly, kid friendly). Every household should have a copy of this book!! ![]() sed & awk (2nd Edition) $34.95 Computers do one basic job, they process data. Often, you do not have control over the output format of the data, but the stuff you want in in there somewhere. So you capture the output to a file, and then chop and hack at it with a text editor to get the data you want in format somewhat like you want. You can either spend the rest of eternity with a text editor or get these guys, and learn a bit to instruct them to do totally boring but useful drudgery. And perhaps learn about regular expressions and pattern matching. And then do something interesting. Don't worry, you will have do do it again, if for no other reason than the entity that controls the format of the data decided to change it, for no other reason than to annoy and confound you. But, since you have learned about pattern matching, a minor change will fix it, and you can go back to whatever. The specific purpose this time was to avoid subscribing to a listing service for cable tv programming. Zap2it publishes the listings on most newspaper websites, and program called wget allows me to write these listings to a file. Then using sed to slice and dice allows me to read simply formatted listings, and eventually feed them to a recording system. |
|