Replace home directories in output by ~
mbackenkoehler opened this issue · 3 comments
mbackenkoehler commented
Basically, we can do a sed
on all ipynb
files.
mbackenkoehler commented
For example:
find teachopencadd -name "*.ipynb" -exec sed -i 's/\/home\/[A-Za-z]*\//~\//g' {} \;
dominiquesydow commented
What is this issue about? I do not understand what's being replaced here. Maybe provide an example of what you want to do or have done?
mbackenkoehler commented
Some notebooks output absolute paths. Most of them are inside warnings. I think it looks a bit nicer if it doesn't contain paths like /home/michael
.