Skip to content

Variables lesson only teaches $^ but refers to $< #1

Closed
@noamross

Description

@noamross

The variables lesson teaches the $^ variable, but I see the $< variable is in the exercise, though it is never mentioned. I also see that $< is used in the next (dependencies) lesson.

Activity

beroe

beroe commented on Jun 19, 2015

@beroe

Plus one to this. $< is never defined before being used, as far as I could find.

mikej888

mikej888 commented on Jun 19, 2015

@mikej888
Contributor

It is defined in the exercise itself:

...$<, which means 'the first dependency of the current rule'.

But this can be made clearer. Something like, "For this exercise you will also need another automatic variable, $<, which means 'the first dependency of the current rule' ?

I was trying to avoid introducing it by an example explicitly as some attendees complained that some of the exercises were too much of the copy-paste-customise approach.

added a commit that references this issue on Jul 18, 2016

Merge pull request #1 from mikej888/gvwilson

added 8 commits that reference this issue on May 6, 2017

Merge pull request swcarpentry#1 from BillMills/gh-pages

Merge pull request swcarpentry#1 from amyehodge/amyehodge-patch-1

Merge pull request swcarpentry#1 from swcarpentry/gh-pages

Merge pull request swcarpentry#1 from ChristinaLK/change-overview-box

Merge pull request swcarpentry#1 from jduckles/jduckles-add-coc

Merge pull request swcarpentry#1 from wking/home-directory-graphic

Merge pull request swcarpentry#1 from swcarpentry/gh-pages

Merge pull request swcarpentry#1 from s-boardman/s-boardman-patch-1

added 2 commits that reference this issue on Oct 27, 2020

Merge pull request #1 from swcarpentry/gh-pages

d1403e2

[fix #1] bring in latest changes

418d8e0

5 remaining items

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Variables lesson only teaches $^ but refers to $< · Issue #1 · swcarpentry/make-novice