Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
function process_file {
local file="$1"
while IFS= read -r line
do
if [[ $line =~ ^#include= ]]; then
included_file="$(echo $line | cut -d'=' -f2)"
process_file "$included_file"
else