I have a file with the following text, I want to make a line break, after the `S.` character

i have this 

```
1900-01-01 00:00:00|1|S|S|S|S.1900-01-01|S.1900-01-01 00:00:00|1|S|S|S|S.1900-01-01 00:00:00|1|S|S|S|S.

```

i want 

```
1900-01-01 00:00:00|1|S|S|S|S.
1900-01-01|S.
1900-01-01 00:00:00|1|S|S|S|S.
1900-01-01 00:00:00|1|S|S|S|S.

```

i tried this

```
$ sed 's/S./\n/g' file.csv > file2.csv

```