Demo entry 6769613

forloop

   

Submitted by anonymous on Nov 07, 2018 at 05:26
Language: Bash. Code size: 259 Bytes.

for dir in $(find /opt/Corelibs -name include -type d); do
    pushd $dir
    
    for file in $(ls); do iconv -f SHIFT-JIS -t UTF-8 $file > t; /bin/mv t $file; done
    sed -i 's,¥,\\,g' *

    # convert .h to .d file
    dstep $file

    popd
done

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).