add "\n" to cat
This commit is contained in:
parent
ee632c21a8
commit
4246275e6e
@ -857,6 +857,7 @@ void cat(const char *filename)
|
||||
rt_device_write(out_device, 0, (void *)buffer, sizeof(buffer));
|
||||
}
|
||||
} while (length > 0);
|
||||
rt_kprintf("\n");
|
||||
|
||||
dfs_file_close(&fd);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user