LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   . Give a command to (https://www.linuxquestions.org/questions/linux-newbie-8/give-a-command-to-837685/)

michael mc hugh 10-12-2010 09:10 PM

. Give a command to
 
a. Redirect the standard output from a sort command into a file named phone_list. Assume that the input file is named numbers.
b. Translate all occurrences of characters [ and { to the character (, and
translate all occurrences of the characters] and} to the character) in the file permdemos.c. (Hint: Refer to the tr man page.)
c. Create a file named book that contains the contents of two other files:part1 and part2.

bigrigdriver 10-12-2010 09:14 PM

Sorry, sport, We don't do your homework for you.

On the other hand, show us what code you have worked up and where your problem is, and we may give you advice on how to correct malfunctioning code.

dugan 10-12-2010 09:45 PM

Quote:

Originally Posted by michael mc hugh (Post 4125502)
a. Redirect the standard output from a sort command into a file named phone_list. Assume that the input file is named numbers.

The answer key for this part, at least, is easily googlable:

http://web.hwr.arizona.edu/~h597/ex3soln.html

The rest you should do yourself. If you're having trouble, then be aware that many books have this exact set of questions as a chapter exercise. Just read the chapter, and you'll be set.

http://flylib.com/books/en/3.163.1.80/2/


All times are GMT -5. The time now is 11:54 PM.