Can any1 suggest me, how to implement the "wc" word counting utility through bash shell script, i.e how to design a script working similar to "wc" command ??? Need it desperately, with all relevant options like -l, -c, -w ...
mahul000
0
Newbie Poster
Recommended Answers
Jump to Post#!/bin/bash wc $*
No seriously, why do you need this? This sounds suspiciously like a homework assignment.
Jump to PostAnd, obviously, you did not bother to read the rest of the post. The given answer was obviously a joke. I then went on to ask you why you need it. In a work situation I can't see this requirement coming up, so I have to assume it is for …
All 6 Replies
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
mahul000
0
Newbie Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
masijade
1,351
Industrious Poster
Team Colleague
Featured Poster
jim mcnamara
19
Junior Poster
jim mcnamara
19
Junior Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.