1
00:00:01,020 --> 00:00:08,970
In Org records are by default separated by line but you can also change it and separated by something

2
00:00:09,030 --> 00:00:12,780
else for example by comma column and so on.

3
00:00:14,850 --> 00:00:22,970
Firstly display passport file to see it's structure.

4
00:00:23,110 --> 00:00:37,760
Now let's change in the beginning section record separator to column so fast output of Glassford file

5
00:00:38,060 --> 00:00:39,790
into awk program

6
00:00:44,090 --> 00:00:45,980
and in the BEGIN section

7
00:00:49,500 --> 00:00:54,270
set the record separator to column

8
00:00:57,680 --> 00:01:02,990
and print each record on separate line.

9
00:01:02,990 --> 00:01:09,780
And we will do that in the main section.

10
00:01:09,810 --> 00:01:14,060
Can you see that we have now many records thanks to cone.

11
00:01:14,100 --> 00:01:21,060
As a record separator we can check how many records do we have.

12
00:01:21,530 --> 00:01:34,290
So in N.S. we can print number of records because the value of variable and R is updated line by line

13
00:01:36,580 --> 00:01:50,010
and I have more than 200 records and difficultly I have in password file 41 lines instead of code month

14
00:01:50,320 --> 00:01:58,510
wc l use awk where I can print number of records for default record separator

15
00:02:09,580 --> 00:02:14,960
and it is the same number for DRAM.

16
00:02:15,130 --> 00:02:24,170
Even now change the record separator to newline which is as it was being set the default value.

17
00:02:24,880 --> 00:02:33,810
We can ensure that new line is really a default value of record separator.

18
00:02:34,050 --> 00:02:41,680
So even BEGIN section set a record separator to newline

19
00:02:46,300 --> 00:02:51,850
and in N.S. print number of records.

20
00:02:56,320 --> 00:02:59,260
And we see number 41 gate.
