Giter Site home page Giter Site logo

Comments (4)

rgaiacs avatar rgaiacs commented on August 14, 2024

Please considere +1 when there is no comment.

  1. In the introduction it could be mentioned that automation using scripts also makes research more reproducible (or at least the analysis).
  2. The actual commands like cd or ls could be mentioned in the learning outcomes.
  3. In the 'Files and Directories' section:
    • 'read-run-print cycle' is used but in the Intro REPL is used (switch to REPL for consistency?)
    • When talking about home directory: could mention ~ and cd (w/o argument) here instead of later in 'Creating Things'
    • pwd is cryptic but can be remembered as 'print working directory' -- so I suggest cutting the lengthy discussion (alternatively we could introduce alias command e.g. $ alias whereami=pwd);

As fas as I remember we agreed that alias will be cover only in intermediate lesson.
Novice users can use scripts as alias.

* there is a mismatch in Figures and text (*/users* vs  */Users*), which misleadingly suggests that bash is case insensitive
* arguments vs parameters: why use inconsistently and not define them and stick to definitions?

Please check swcarpentry/DEPRECATED-bc#420 and
swcarpentry/DEPRECATED-bc#511.

  1. 'Creating Things':
    • could emphasise more that mv overwrites an existing file if second argument is the same as the name of another exiting file (potential for mistake and loss of a file)
    • perhaps the title should be more general as this part covers deleting and copying/moving too
    • discussion of '~' (home directory) could be moved to 'Files and Directories'
  2. 'Pipes and Filters':
    • (redirection) overwrites existing files without a warning

    • Figure has no part for 'wc -l *pdb | sort -n' (slight mismatch to text)
  3. 'Loops': could mention automation of repetitive tasks as motivation and add a sentence explaining semicolon as separator (useful in one-liner scripts)
  4. 'Finding Things' could be introduced before sections 4 (Loops) and 5 (Scripts) as they fit well with 3 (pipes and filters; as an example). What is the rationale for putting it at the end? (I mentioned unspecific link in another issue).
  5. Would any of the sections benefit from additional MCQs?

I suggest that you try to send small pull request since we will merge them faster.

from shell-novice.

ChristinaLK avatar ChristinaLK commented on August 14, 2024

Thanks for the suggestions @jevbelikov! I agree w/ all of @r-gaia-cs comments, the only thing I'll add is that I prefer to not have the commands in the learning objectives, mostly because it allows them to be broader and more principle/action based ("be able to move/copy files" as opposed to "use mv and cp")

Would it be okay with you if I made this into a checklist of requested contributions for new contributors?

from shell-novice.

jevbelikov avatar jevbelikov commented on August 14, 2024

@ChristinaLK, please do turn it into a list of possible contributions. I have addressed the issue with mv and > potentially overwriting existing files without a warning in PR #148. We could consider introducing a different callout style for warning/common mistakes (unless it exists already; I was thinking about O'Reilly books and their 'trap' symbol).

That PR also includes moving a callout about ~ to 'Files and Directories'.

from shell-novice.

ChristinaLK avatar ChristinaLK commented on August 14, 2024

created as individual issues.

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.