From 4b96df1d81ac2b89f3beab6f53730dfc84ac284a Mon Sep 17 00:00:00 2001 From: "Claudio Maggioni (maggicl)" Date: Fri, 26 Jul 2019 00:11:15 +0200 Subject: [PATCH] Added documentation --- README.md | 7 +++++++ sortlines/README.md | 8 ++++++++ 2 files changed, 15 insertions(+) create mode 100644 README.md create mode 100644 sortlines/README.md diff --git a/README.md b/README.md new file mode 100644 index 0000000..7832b59 --- /dev/null +++ b/README.md @@ -0,0 +1,7 @@ +# sys_prog + +System Programming exercises / homeworks. + +## Description + +[Rickroll](https://www.youtube.com/watch?v=9KxTcDsy9Gs) diff --git a/sortlines/README.md b/sortlines/README.md new file mode 100644 index 0000000..7d95690 --- /dev/null +++ b/sortlines/README.md @@ -0,0 +1,8 @@ +# sortlines + +Write a program called sortlines that reads one line at a time from the +standard input, and outputs the sequence of words in each line sorted in +lexicographical order. A word is a (maximal) contiguous sequence of alphabetic +characters as defined by the isalpha library function. The output sequence for +each line should be printed on a single line with each word separated by one +space. An input line is guaranteed to be at most 1000 characters.