all that is doing is saying show the running configuration but just the sections that have ospf
when the pipe is there you have options on the cli to pull just some of the config rather than all as below
CORE# show configuration | ?
append Append redirected output to URL (URLs supporting append operation only)
begin Begin with the line that matches
count Count number of lines which match regexp
exclude Exclude lines that match
format Format the output using the specified spec file
include Include lines that match
redirect Redirect output to URL
section Filter a section of output
tee Copy output to URL
CORE# show configuration | i eigrp
router eigrp 1
eigrp router-id 172.21.229.65
CORE#