Giter Club home page Giter Club logo

Comments (9)

wking avatar wking commented on August 25, 2024

On Wed, Jan 21, 2015 at 06:22:55PM -0800, Raniere Silva wrote:

Windows doesn't have man installed. To improve the experience of
our students that use Windows machines we should use command --help instead of man command and make a few changes in the write
version of our shell lesson.

  • In 06-find.md, replace man grep with grep --help.

Ugh. Can't we just suggest they use the web to get the man page?
E.g. 1. We may be able to script that up in a little man stub using
Python's webbrowser 2 and install the script using our Windows
installer. For Git, it doesn't matter if you use ‘man’ or ‘--help’,
but on my system grep(1) is 649 lines of useful explanation (e.g. it
talks about character classes, bracket expressions, regexp anchoring,
…) and ‘grep --help’ is 76 lines of compact usage information.

from shell-novice.

rgaiacs avatar rgaiacs commented on August 25, 2024

Can't we just suggest they use the web to get the man page?

I'm OK with using the web. This is just a suggestion that @dbarneche gave me.

from shell-novice.

gvwilson avatar gvwilson commented on August 25, 2024

Learners frequently can't get on wireless during workshops, either
because they're from a different institution, or because university
wireless can't handle the load, or just because. We should therefore
tell people about both man and google.

from shell-novice.

wking avatar wking commented on August 25, 2024

On Thu, Jan 22, 2015 at 04:57:54AM -0800, Greg Wilson wrote:

Learners frequently can't get on wireless during workshops, either
because they're from a different institution, or because university
wireless can't handle the load, or just because. We should
therefore tell people about both man and google.

So I'd tell leaners:

  1. Use ‘man’ if you have it, since it's easy to run and gives detailed
    advice. If you don't have it, fall back to…
  2. A man page (or other docs if you can find them) posted online.
    More work to find, but you get man-page-quality advice. If you
    don't have network access or can't find the appropriate docs, fall
    back to…
  3. ‘--help’, which will usualy get you the command syntax. That may
    be enough to jog your memory. If you're lucky (e.g for Git), the
    --help will be as useful (or exactly the same as ;) the man page
    ;).

And I'd leave it up to instructors to gloss over any bits they felt
weren't pertinent to their class (e.g. don't mention ‘man’ if all your
students are Windows users who are masochistically learning about the
POSIX shell ;).

from shell-novice.

rgaiacs avatar rgaiacs commented on August 25, 2024

I updated the description of this issue since I believe that we could agree with @wking's last comment.

from shell-novice.

ChristinaLK avatar ChristinaLK commented on August 25, 2024

This is also referenced in (old) PR #24.

from shell-novice.

JohnRMoreau avatar JohnRMoreau commented on August 25, 2024

Should we add a link to the GNU Bash site man page? https://www.gnu.org/software/bash/manual/
We might want to add this link to either the shell lessons, the instructor notes, or the workshop template.

from shell-novice.

gdevenyi avatar gdevenyi commented on August 25, 2024

Yes please, PR's welcome :)

from shell-novice.

gdevenyi avatar gdevenyi commented on August 25, 2024

Resolved.

from shell-novice.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.