imitation cat command from linux(only needs -b option)