Basic - Editors Fall 2026

Submission Instructions

This homework will be submitted as a repository on the EECS GitLab server. The repository you submit will be a private Project with the name/path eecs201-basic-editors with akamil added as a Reporter. The branch main will be the one that is checked.

To finish the submission process and get your submission score, you will need to run the autograder. You will need to SSH into the course server (see Basic - Intro):

local$ ssh uniqname@peritia.eecs.umich.edu

(the local$ referring to a shell prompt on your system)

and then run eecs201-test:

peritia$ eecs201-test basic-editors

(the peritia$ referring to a shell prompt on the server)

The repository should have the following directory structure, starting from the repository’s root:

/
|-- file1.txt
|-- file2.c
|-- file3.sh
|-- report.txt

Optional Readings

Previous iterations of this class included some optional readings with this week. You may find the ideas and topics they bring up interesting.

Makers vs Managers

http://www.paulgraham.com/makersschedule.html
Maker’s Schedule, Manager’s Schedule, by Paul Graham, co-founder of Y Combinator.

Software Engineering in the Real World

http://www.joelonsoftware.com/articles/fog0000000069.html
Things You Should Never Do, Part I, by Joel Spolsky

It’s harder to read code than to write it.

When was the last time you saw a hunt-and-peck pianist? -Jeff Atwood, co-founder of Stack Overflow and Discourse.
Some extras on the value of being a good typist and ditching the mouse for the keyboard.

Preface

In this assignment you’ll be provided yet another zipped archive containing some starter empty files and scripts. Use your preferred tool to retrieve this file and extract it (see Basic - Git 1 if you need a review).

https://www.eecs.umich.edu/courses/eecs201/fa2026/files/assignments/basic-editors.tar.gz

Initialize a Git repository inside of the extracted basic-editors directory as per the submission instructions.

Jumping to a line

Open the file1.txt file. At line 420 there is a break in the pattern. Replace the text at line 420 with the number that fits in the pattern (each line is 4 more than the previous line). Your text editor may have the ability to jump directly to a given line: look it up!

Finding and replacing

Open file2.c. In it we have a function with the placeholder name tmp_func. Change the name of this function to add_7. Your editor might have the ability to find and replace all occurrences of a text pattern, or have an understanding of particular syntax so as to change function names.

Commenting out lines

Open file3.sh. From lines 2 to 1001, inclusive, are a bunch of shell commands. Comment them out by putting a # at the beginning on each of those lines. Do not add or remove any additional lines. Your editor may have an easy method to comment out selected/highlighted lines directly, or allow you to do the same edit to multiple lines at the same time.

Conclusion

  1. Add and commit any changes you intend to submit.

  2. Create a file called report.txt.

  3. On the first line provide an integer time in minutes of how long it took for you to complete this assignment.

  4. On the second line and beyond, write down what you learned while doing this assignment. If you already knew how to do all of this, put down “N/A”.

  5. Add and commit this report.txt file.

  6. Run the autograder!