god dammit. what's the easiest way (in bash) to get the contents of a file into a shell variable?
like, say i have file.txt, which has in it only "in.file", and i want to get that into the variable INFILE so i can say "foo -i $INFILE -o $INFILE.out" or something like that?