mirror of
https://asciireactor.com/otho/psdlag-agn.git
synced 2024-11-24 16:45:07 +00:00
22 lines
565 B
Bash
Executable File
22 lines
565 B
Bash
Executable File
#!/usr/bin/env bash
|
||
|
||
|
||
for analysis in analyses/*A_*
|
||
do
|
||
if [[ $analysis == "analyses/*A_*" ]]; then continue; fi
|
||
echo Restoring unicode characters to $analysis.
|
||
new_name=$(basename $analysis|
|
||
#sed 's|_\([0-9]\+\)|\(𝛌=\1|g'|
|
||
sed 's|_|≺|'|
|
||
sed 's|A|Å|'|
|
||
sed 's|A_|Å%|'|
|
||
sed 's|_|{|'|
|
||
sed 's|_|;|'|
|
||
sed 's|_||g'|
|
||
#sed 's|_|}|'|
|
||
sed 's|≺|_≺_|'|
|
||
sed 's|Å%|Å_|'|
|
||
sed 's|Δt|Δt=|'|
|
||
sed 's|err|σ∊|')}
|
||
mv $analysis analyses/$new_name
|
||
done |