This makes multi-sentence prompts less awkward.
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "git config --global user.name",
- "prompt": "configure your user-wide name to be `A U Thor`",
+ "prompt": "Configure your user-wide name to be `A U Thor`.",
"answer": "git config --global user.name 'A U Thor'",
"setup": [
"export HOME=."
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "git config --global user.email",
- "prompt": "configure your user-wide email to be `author@example.com`",
+ "prompt": "Configure your user-wide email to be `author@example.com`.",
"answer": "git config --global user.email 'author@example.com'",
"setup": [
"export HOME=."
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "git init",
- "prompt": "initialize a Git repository in a new `my-project` directory",
+ "prompt": "Initialize a Git repository in a new `my-project` directory.",
"multiline": true,
"answer": [
"mkdir my-project",
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "git clone",
- "prompt": "clone git://github.com/wking/quizzer.git into a new `quizzer` directory",
+ "prompt": "Clone git://github.com/wking/quizzer.git into a new `quizzer` directory.",
"answer": "git clone git://github.com/wking/quizzer.git",
"teardown": [
"cd quizzer",
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "git add / commit",
- "prompt": "there is a new README file in your repository.\nmake a new commit including this README.\nthe commit message should be `Add a README`",
+ "prompt": "There is a new README file in your repository.\nMake a new commit including this README.\nThe commit message should be `Add a README`.",
"multiline": true,
"timeout": null,
"answer": [
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "git checkout HEAD -- FILE",
- "prompt": "you've messed up your README file.\nrestore it to the last committed version",
+ "prompt": "You've messed up your README file.\nRestore it to the last committed version.",
"answer": "git checkout HEAD -- README",
"setup": [
"export GIT_AUTHOR_NAME='A U Thor'",
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "git commit --amend",
- "prompt": "you messed up your README file in your last commit.\nyou just fixed the contents of `README`, but haven't added it to the index.\ncommit the new version so it also fixes the last commit.\nthe fixed commit message should be `Add a README`.",
+ "prompt": "You messed up your README file in your last commit.\nYou just fixed the contents of `README`, but haven't added it to the index.\nCommit the new version so it also fixes the last commit.\nThe fixed commit message should be `Add a README`.",
"multiline": true,
"timeout": null,
"answer": [
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "quoting spaces",
- "prompt": "call `ls` and pass it two arguments: `a` and `b c`",
+ "prompt": "Call `ls` and pass it two arguments: `a` and `b c`.",
"answer": "ls a 'b c'",
"help": "http://pubs.opengroup.org/onlinepubs/009696699/utilities/xcu_chap02.html#tag_02_02"
},
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "echo constant",
- "prompt": "print the string `hello, world` to stdout",
+ "prompt": "Print the string `hello, world` to stdout.",
"answer": "echo 'hello, world'",
"help": "http://pubs.opengroup.org/onlinepubs/009696699/utilities/echo.html"
},
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "parameter expansion",
- "prompt": "print the contents of the PATH variable to stdout",
+ "prompt": "Print the contents of the PATH variable to stdout.",
"answer": "echo \"$PATH\"",
"help": "http://pubs.opengroup.org/onlinepubs/009696699/utilities/xcu_chap02.html#tag_02_06_02",
"dependencies": [
"class": "ScriptQuestion",
"interpreter": "sh",
"id": "variable assign constant",
- "prompt": "set the ABC variable to the string `xyz`",
+ "prompt": "Set the ABC variable to the string `xyz`.",
"answer": "ABC='xyz'",
"teardown": [
"echo \"ABC: '${ABC}'\""
{
"class": "ScriptQuestion",
"interpreter": "sh",
- "prompt": "prepend the string `/some/path:` to the PATH variable",
+ "prompt": "Prepend the string `/some/path:` to the PATH variable.",
"answer": "PATH=\"/some/path:$PATH\"",
"teardown": [
"echo \"PATH: '${PATH}'\""
{
"class": "ScriptQuestion",
"interpreter": "sh",
- "prompt": "list all the files in the current directory",
+ "prompt": "List all the files in the current directory.",
"answer": "ls",
"setup": [
"touch file-1 file-2 file-3"
{
"class": "ScriptQuestion",
"interpreter": "sh",
- "prompt": "print the current directory to stdout",
+ "prompt": "Print the current directory to stdout.",
"answer": "pwd",
"help": "http://pubs.opengroup.org/onlinepubs/009696699/idx/utilities.html"
},
{
"class": "ScriptQuestion",
"interpreter": "sh",
- "prompt": "change to your home directory",
+ "prompt": "Change to your home directory.",
"answer": "cd",
"teardown": [
"pwd"
{
"class": "ScriptQuestion",
"interpreter": "sh",
- "prompt": "change to the parent of your current working directory",
+ "prompt": "Change to the parent of your current working directory.",
"answer": "cd ..",
"teardown": [
"pwd"
{
"class": "ScriptQuestion",
"interpreter": "sh",
- "prompt": "print the contents of README file to the terminal",
+ "prompt": "Print the contents of README file to the terminal.",
"answer": "cat README",
"setup": [
"echo 'This project is wonderful' > README"