second_program filename # as a command line option echo "filename" | second_program # piped into its standard input