Arduino: checking memory footprint
I can check the memory footprint using the avr-size command. % avr-size microcoap.cpp.elf text …
The stream editor sed inserts text before a specified pattern.
sed -i '/pattern/i\inserted text' *.txt
The -i
flag enables editing in place.
Photo by Clayton Cardinalli on Unsplash