Author: Stan Eisenstat
Subject: Re: [Cs323] Newline followup
Date: Saturday, 17 Oct 2020, 13:31:52
> Message Posted By: Unknown
>
> Can you give an example of how to test "an input line doesnt have have a
> newline character in mcBash (disregarding ctrl-d/ctrl-c)"
>
> Im unable to test this on my program currently, as I cannot figure out how
> to create a test like this on the input line.
Options:
1. Write a short C program that write a line without
a newline to stdout.
2. Use the -n option for echo.
--Stan-
PREV
INDEX
NEXT