Różnice między wybraną wersją a wersją aktualną.
Nowa wersja | Poprzednia wersja | ||
so:redirects:cat [2023/03/25 10:23] jkonczak utworzono |
so:redirects:cat [2025/04/01 22:22] (aktualna) jkonczak |
||
---|---|---|---|
Linia 1: | Linia 1: | ||
<html> | <html> | ||
- | <pre> | + | <pre style="line-height: 1;"> |
<span style="font-weight:bold;color:#00ff00;">user@host</span><span style="font-weight:bold;color:#5c5cff;"> ~ $</span> ls | <span style="font-weight:bold;color:#00ff00;">user@host</span><span style="font-weight:bold;color:#5c5cff;"> ~ $</span> ls | ||
b t x | b t x | ||
Linia 77: | Linia 77: | ||
00000040 b4 6c 65 0a |.le.| | 00000040 b4 6c 65 0a |.le.| | ||
00000044 | 00000044 | ||
- | </span> | + | </span><span style="opacity:50%"><span style="font-weight:bold;color:#00ff00;">user@host</span><span style="font-weight:bold;color:#5c5cff;"> ~ $</span> cat bbc_big_read.txt |
+ | 1|The Lord of the Rings|J. R. R. Tolkien | ||
+ | 2|Pride and Prejudice|Jane Austen | ||
+ | 3|His Dark Materials|Philip Pullman | ||
+ | 4|The Hitchhiker's Guide to the Galaxy|Douglas Adams | ||
+ | 5|Harry Potter and the Goblet of Fire|J. K. Rowling | ||
+ | 6|To Kill a Mockingbird|Harper Lee | ||
+ | 7|Winnie-the-Pooh|A. A. Milne | ||
+ | 8|Nineteen Eighty-Four|George Orwell | ||
+ | 9|The Lion, the Witch and the Wardrobe|C. S. Lewis | ||
+ | 10|Jane Eyre|Charlotte Brontë | ||
+ | <span style="font-weight:bold;color:#00ff00;">user@host</span><span style="font-weight:bold;color:#5c5cff;"> ~ $</span> cat goodreads.txt | ||
+ | 1|To Kill a Mockingbird|Harper Lee | ||
+ | 2|Harry Potter and the Sorcerer’s Stone|J.K. Rowling | ||
+ | 3|The Great Gatsby|F. Scott Fitzgerald | ||
+ | 4|Nineteen Eighty-Four|George Orwell | ||
+ | 5|Animal Farm|George Orwell | ||
+ | 6|The Hobbit, or There and Back Again|J.R.R. Tolkien | ||
+ | 7|The Little Prince|Antoine de Saint-Exupéry | ||
+ | 8|Fahrenheit 451|Ray Bradbury | ||
+ | 9|The Catcher in the Rye|J.D. Salinger | ||
+ | 10|The Lion, the Witch and the Wardrobe|C.S. Lewis | ||
+ | <span style="font-weight:bold;color:#00ff00;">user@host</span><span style="font-weight:bold;color:#5c5cff;"> ~ $</span> sort -t '|' -k 2 goodreads.txt > goodreads.sorted.txt | ||
+ | <span style="font-weight:bold;color:#00ff00;">user@host</span><span style="font-weight:bold;color:#5c5cff;"> ~ $</span> sort -t '|' -k 2 bbc_big_read.txt > bbc_big_read.sorted.txt | ||
+ | </span><span style="font-weight:bold;color:#00ff00;">user@host</span><span style="font-weight:bold;color:#5c5cff;"> ~ $</span> join -t '|' -j 2 bbc_big_read.sorted.txt goodreads.sorted.txt | ||
+ | Nineteen Eighty-Four|8|George Orwell|4|George Orwell | ||
+ | The Lion, the Witch and the Wardrobe|9|C. S. Lewis|10|C.S. Lewis | ||
+ | To Kill a Mockingbird|6|Harper Lee|1|Harper Lee | ||
+ | <span style="font-weight:bold;color:#00ff00;">user@host</span><span style="font-weight:bold;color:#5c5cff;"> ~ $</span> join -t '|' -j 2 bbc_big_read.sorted.txt goodreads.sorted.txt | column -t -s '|' | ||
+ | Nineteen Eighty-Four 8 George Orwell 4 George Orwell | ||
+ | The Lion, the Witch and the Wardrobe 9 C. S. Lewis 10 C.S. Lewis | ||
+ | To Kill a Mockingbird 6 Harper Lee 1 Harper Lee | ||
</pre> | </pre> | ||
</html> | </html> |