Sponsored Content
Homework and Emergencies Homework & Coursework Questions Student needs grep command help Post 303007969 by MadeInGermany on Friday 24th of November 2017 05:35:03 AM
Old 11-24-2017
Put the grep expression in " " or ' ' quotes, otherwise even the shell tries substitutions.
Use bounds, at least "word boundary" anchors, better the field separator.
 

6 More Discussions You Might Find Interesting

1. Programming

novice student needs help

Help! I am very stuck!!! I have to produce a practical implementation of ONC RPC for an assignment and I do not know where to start. I hve done much searching on sun's site but everything is too complicated for someone with my limited knowledge. I only know the very basic unix commands and have... (1 Reply)
Discussion started by: karen79
1 Replies

2. Linux

Student needs help...

I know taking the easy way out isn't going to help me learn anything, but hopefully it will at least give me some guidence... I have a project and here's what I have to do... A company is currently running a Digital VAX and I have to replace it with a Linux server. There are 19 terminals... (4 Replies)
Discussion started by: MGold4357
4 Replies

3. Shell Programming and Scripting

Newbie Student Need Help!

Is there anyone here that can help me with my unix assignment? I've been working on it for 3 days now. It is regarding writing a script. I've got a few questions that I need some answers. Please someone who are willing to help add me to their msn messenger: **************** In one part of... (0 Replies)
Discussion started by: DaSFLiP
0 Replies

4. UNIX for Dummies Questions & Answers

student need help!

yes im a student at Sandersville Technical College in Sandersville, Georgia. Im doing a presentation on UNIX can someone help me discribe what UNIX is and how to use it and the different features it has? (6 Replies)
Discussion started by: willnadaze
6 Replies

5. UNIX for Dummies Questions & Answers

Hello Everyone - Student in Need of Help

Hi everyone. Let me just start off by saying I'm a college student and I love playing around with UNIX. I registered here because I have a UNIX shell scripting class and I am having some issues with my homework. I'm not looking for answers to the problems, just some help to get me on my way.... (1 Reply)
Discussion started by: Hexum311
1 Replies

6. UNIX for Beginners Questions & Answers

Student needs grep command assistance

I am a student in a UNIX/Linux classes having hard time with grep looking for assistance on some home work I need to figure out some kind of grep command to get a out put that only gives me information from a sample file and only list the people with the first name John the sample file is named... (1 Reply)
Discussion started by: jetoutant
1 Replies
BIBLEDIT-RDWRT(1)					      General Commands Manual						 BIBLEDIT-RDWRT(1)

NAME
bibledit-rdwrt - Read or writes data to or from a Bibledit-Gtk Bible or project DESCRIPTION
Bibledit-rdwrt can read from or write to Bible data. Syntax: bibledit-rdwrt -r|-w project book chapter|0 fileName Breaking the syntax down we have: First parameter: -r|-w This can be either -r or -w which determines whether the remaining arguments are going to do a "read" operation from the specified Bibledit-Gtk Bible / project, or do a "write" operation to that Bible / project. Second parameter: project This gives the name of the Bibledit-Gtk Bible / project. All we have to do is ensure that the project name we want to access is a valid/existing one. Third parameter: book This is simply the 3-letter book code for the Bible book that is being read/written to. I.e., MAT for Matthew, GEN for Genesis, etc. Fourth parameter: chapter|0 This can be either a chapter number or 0 (zero) for reading/writing either an individual chapter or read- ing/writing a whole book (when the parameter is 0). Fifth parameter: fileName This is a temporary file name that we assign for our use with bibledit-rdwrt. For a read (-r) operation this fileName argument is the name of the file that will be created by bibledit-rdwrt containing a copy of the whole book (corresponding to the 3-letter code), or that contains the individual chapter contents (of a designated chapter) of an existing Bibledit-Gtk book file in the Bible / project. It should be prefixed with a path us. Since bibledit-rdwrt is a console operation, after AdaptIt calls it using ::wxExe- cute, it would need to read the resulting temporary file to grab the contents for its use. For a write (-w) operation this fileName argu- ment is the name of the temporary file that bibledit-rdwrt reads to get the text which it then writes to the appropriate Bible / project file. The temporary file can contain the text of a whole book, or just the text of a single chapter for the book specified by the book 3-letter code and the chapter (number) argument. bibledit-rdwrt may exit with 0 on success, or -1 on failure, as it sees fit. It may write to stdout or stderr, as it sees fit. LICENSE
This program is distributed under the GNU General Public License, as noted in each source file. Version 4.2 August 18 2011 BIBLEDIT-RDWRT(1)
All times are GMT -4. The time now is 06:11 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy