-
Notifications
You must be signed in to change notification settings - Fork 0
/
assignment01
21 lines (11 loc) · 1.21 KB
/
assignment01
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
assignment link:
remember, Kernighan was using programs 'lowercase' and 'makewords' in his pipeline? and you had to replace those by other programs during the lab session.
In this task you have to write a commandline program which takes strings from the standard input, processes them, and writes to the standard output.
You are free to choose one of the following tasks.
the program takes characters from the stdin, make all characters in ASCII range lowercase, outputs to the standard output. name of the output executable should be 'lowercase'.
program that tokenizes words it gets from the stdin. should output only words, one per line, without punctuation marks.
program that transforms ARMSCII-8 text given to stdin to UTF-8 Unicode encoding, writes result to standard output.
program that takes two commandline arguments, tries to open files with those names, assumes those are sorted, compares them and outputs only those lines that differ.
We will compile the program by changing in to the directory, and running 'make'. So the directory has to contain a makefile.
We recommend to use C (not C++), Pascal (fpc) or Go to solve this task, but you are free to use any programming language you prefer.
Deadline: