1
00:00:06,620 --> 00:00:09,550
In the category of small commands,
we also have cat and tag.

2
00:00:10,429 --> 00:00:13,490
Let's talk about it. Cat has
some nice options to show you.

3
00:00:14,259 --> 00:00:18,859
Text files minus uppercase H
shows all non printable characters.

4
00:00:19,739 --> 00:00:22,609
And B is
giving line numbers.

5
00:00:23,690 --> 00:00:26,210
And N is doing the
same, but not for empty lines.

6
00:00:27,129 --> 00:00:31,649
And S can be used
to suppress repeated empty lines.

7
00:00:32,630 --> 00:00:38,689
Tag, in fact, is not the most useful
utility. It's like cat, but in the reverse order.

8
00:00:39,390 --> 00:00:41,250
So let
me show you.

9
00:00:42,509 --> 00:00:47,740
So when I use cat on regex, then
I'm just seeing the content of this regex file.

10
00:00:48,619 --> 00:00:52,594
And what else did
we have? Hey, LS LRT

11
00:00:52,594 --> 00:00:56,570
demofeld. That was a
masterwork of art, right?

12
00:00:57,079 --> 00:01:01,490
So let me use
Cat A on demofell.

13
00:01:02,310 --> 00:01:08,060
And what do we see? We see these dollars.
The dollar is every time that we used enter.

14
00:01:09,420 --> 00:01:13,340
So what else can we do?
Well, we use cat on regex.

15
00:01:14,239 --> 00:01:16,760
You can also
use tack on regex.

16
00:01:17,540 --> 00:01:23,430
And what do we see? It's the reverse content of
the regexval. Does that make sense? No, not at all.

17
00:01:23,849 --> 00:01:30,010
It more sounds like an exercise
in an introduction to C programming course.

18
00:01:30,530 --> 00:01:35,784
But it's here. And sometimes on
Linux you have commands and utilities that

19
00:01:35,784 --> 00:01:41,039
were created just because the developer
thought it was fun to create them.
