Comments (4)
Please considere +1 when there is no comment.
- In the introduction it could be mentioned that automation using scripts also makes research more reproducible (or at least the analysis).
- The actual commands like cd or ls could be mentioned in the learning outcomes.
- 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.
- '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'
- 'Pipes and Filters':
(redirection) overwrites existing files without a warning
- Figure has no part for 'wc -l *pdb | sort -n' (slight mismatch to text)
- 'Loops': could mention automation of repetitive tasks as motivation and add a sentence explaining semicolon as separator (useful in one-liner scripts)
- '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).
- 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.
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.
@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.
created as individual issues.
from shell-novice.
Related Issues (20)
- Does `ls -s` depend on the version of bash? HOT 2
- Ep_3 Possible wrong solution at the More on Wildcards HOT 1
- Timing and order of topics in the loop section
- Lesson 3: here documents in create files a different way HOT 5
- Extras: Add manual link for advanced bash scripting guide HOT 2
- Finding Things - Exercise 'Tracking a Species' only has the help function for Mac listed HOT 3
- Getting help: is additional guidance for Linux users necessary HOT 5
- Clarification for Pipes and Filters Lesson - Passing output to another command heading HOT 3
- Pipes and Filters - sort -n works differently for each OS HOT 5
- Update maintainer list
- Making the workshops more inclusive for nonnative speakers HOT 1
- Lesson Contribution: integrate Unix shell with R HOT 1
- Lesson suggestion: Mention `stdout` and `stderr` in redirection HOT 1
- Proposed brief introduction of sed and awk - Instructor training checkout contribution HOT 2
- Letter casing issue in lesson 02 HOT 4
- Ep6: typo
- Update pipeline HOT 1
- Ep 04: 'wc' command description
- Ep 04: 'grep' command option combination HOT 4
- Remove mention of "ls -F" option HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shell-novice.