On Sunday 31 December 2006 01:52, George wrote: > On Sat, Dec 30, 2006 at 06:22:09PM -0600, Lane wrote: > > On Saturday 30 December 2006 12:22, [EMAIL PROTECTED] wrote: > > > On Sat, Dec 30, 2006 at 10:16:20AM -0500, Robert Huff wrote: > > > > [EMAIL PROTECTED] writes: > > > > > > I need any online complete manual on sh, not a brief as it is man > > > sh. The last one doesn't describe many features both interactive > > > (command line editing, using history interactively, and many others) > > > and scripting (for example, conditional expressions). > > > > Here's a "brute-force" manual: > > > > #!/bin/sh > > for each in `find /etc/rc.d` > > do more $each > > done > > Bonus points for not using cat, but it sounds like you're recommending a > manual you yourself haven't read. > > $ for each in /etc/rc.d/* ; do more $each ; done > > Or skipping the unecessary logic: > > $ more /etc/rc.d/* > > Sarcasm is mostly counterproductive, doncha think? I do, George. But I'm not sure you actually share that notion. > > > If you need more than what is there then you probably need Kernigan > > and Ritchie's The "C" Programming Language, (still) available on > > amazon.com. > > My guess is the OP is inquiring about scripting in general, but bash(1) > and readline(3) in particular. If that's the case, the manpages should > be more than adequate; a reading of Mendel Cooper's Advanced Bash > Scripting Guide (available for free at a Google search near you) would > also be useful for a practical perspective. Recommending the K&R book I > don't think is appropriate. I'm sorry that you felt the need to tell me, and the whole world, that.
He said he needed "brief" but not as brief as "man sh" I said, by example, "use these tools which are here," in as clear and readable a form as I could, owing to the near certainty that the OP was unfamiliar with the language form(s). Then I followed up with a recommendation for further reading which, regardless of your apparent encyclopedic knowledge of the subject, is exactly what I recommended: Further reading if the OP needs more functionality than could be deduced from a study of the basic startup scripts for freebsd. Whatever "tone" you are hearing is not emanating from my email. lane _______________________________________________ firstname.lastname@example.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"