Skip to content

Loop image doesn't match lesson content #247

Open
@scottcpeterson

Description

@scottcpeterson

What is the problem?

The code on the Loop image is wrong. It is currently,

for filename in *.dat
do
echo cp "$filename" backup_"$filename"
done

When it should be

for filename in *.dat
do
echo "$filename"
cp "$filename" backup_"$filename"
done

Location of problem (optional)

Line 175 {alt='For Loop in Action'}

https://librarycarpentry.org/lc-shell/04-loops.html#for-loop-exercise

Metadata

Metadata

Assignees

No one assigned

    Labels

    type:clarificationSuggest change for make lesson clearer

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions