P2sh redeem script hash What are the contents of a redeem script hash in a p2sh transaction?

From what i read it's similar to the pubkey script but does it only contain the receiver's address?
1. Bitcoin single signature P2SH:
RedeemScript Template = “[PubKey] OP_CHECKSIG”
Working Examples:
% echo &quot;[020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73] checksig&quot; | bx script-encode
21020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73ac (Script)
% echo &quot;[020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73] checksig&quot; | bx script-encode | bx sha256 | bx ripemd160
49e266a68641d2caa6696b00696f00f0a5706350   (Hash Answer)
% echo &quot;[020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73] checksig&quot; | bx script-encode | bx sha256 | bx ripemd160 | bx base58check-encode -v 5
38RgUAR367PFbFFgS57BYcERHkpqHEMBvA  (Address)
or more simply,
% echo &quot;[020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73] checksig&quot; | bx script-to-address -v 5
38RgUAR367PFbFFgS57BYcERHkpqHEMBvA
2. Bitcoin BIP16 multisig:
2 of 3 RedeemScript Template = &quot;OP_2 [PubKey1] [PubKey2] [PubKey3] OP_3 OP_CHECKMULTISIG&quot;
Working Examples:
% echo &quot;2 [020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73] [03664d528eb80096671ef9011c533ceb5df133238e3690d88f2960c786398b86b1] [029a449ea4a2155ea10002d704604bb3e8606631d35af20889a74b82b2dab572f6] 3 checkmultisig&quot; | bx script-encode
5221020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d732103664d528eb80096671ef9011c533ceb5df133238e3690d88f2960c786398b86b121029a449ea4a2155ea10002d704604bb3e8606631d35af20889a74b82b2dab572f653ae (Script)
%  echo &quot;2 [020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73] [03664d528eb80096671ef9011c533ceb5df133238e3690d88f2960c786398b86b1] [029a449ea4a2155ea10002d704604bb3e8606631d35af20889a74b82b2dab572f6] 3 checkmultisig&quot; | bx script-encode | bx bitcoin160
7e580c3a86432d96dd60784e99f5a94e463414fe   (Hash Answer)
% echo &quot;2 [020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73] [03664d528eb80096671ef9011c533ceb5df133238e3690d88f2960c786398b86b1] [029a449ea4a2155ea10002d704604bb3e8606631d35af20889a74b82b2dab572f6] 3 checkmultisig&quot; | bx script-to-address -v 5
3DD4YP2T75TQtf84KrHzYVLYgNAeaHWqxq (Address)
3. Bitcoin P2WPKH-nested-in-P2SH:
RedeemScript Template = &quot;0 [PubKey]&quot;
Working Examples:
% echo &quot;0 [020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73]&quot; | bx script-encode
0021020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73 (Script)
% echo &quot;0 [020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73]&quot; | bx script-encode | bx bitcoin160
7138cbb443e9ed635d3dd02a3e450884e3f9f0c8  (Hash Answer)
% echo &quot;0 [020ae29f86f404e4b302cfa17ff15d93149af6a54c80a4172d47e41f55f6a78d73]&quot; | bx script-to-address -v 5
3C1gKTRSAwSLj8Ft1eYooLkWxwJ5cqDdpb  (Address)