in a latex file called "main.tex" i can write the line
\input /home/user1/defs.tex
to input the conents of "defs.tex" at the position of that command.
now i want to generalize this, so that any user can compile the tex-document and "defs.tex" inside his home-directory is being inserted. my first guess
\input ~/defs.tex
didnt work. does anyone know how to solve this?