Update: As commented by ‘pifcnt’ this is for VS2010 files. Today I had the daunting task of combining multiple solution files into one. The reason for this was that the project I’m working on originally started as multiple separate solutions with shared projects. Now we find it more convenient to have it in a single solution both for automated… Read More »
A few command-line tricks for Perl: Filter based on regex (like grep -E) cat file.txt | perl -n -e ‘print if /regex.*matched/’ Replace based on regex cat file.txt | perl -n -e ‘s/regex.*matched/replacement/gi’ Replace based on regex inside file (will change file) perl -pi -e ‘s/regex.*matched/replacement/gi’ *.txt Replace based on regex inside file (will change file) and make… Read More »
Just wrote up a small pseudocode for a previous post here.