Recently most companies have done IPO and not demerger of subsidiary.
Example:
- Tata technologies IPO from Tata motors
- Bajaj housing finance from Bajaj finance
Only saving grace is existing shareholders can apply for IPO in shareholder category as well.