shell editor

Linux for blind general discussion blinux-list at
Mon Sep 25 22:07:24 UTC 2017

This isn't what was requested, but I'm pretty certain it will be useful 
nonetheless.  The truncate command can create a file and make it a 
specific number of characters in size.  Truncation happens from the end of 
the file if too large.  So truncate 10000 file.txt would make a file 10000 
characters in length.  Editing that file in overwrite mode not insert mode 
change lines don't insert lines would use up the space for the character 
limit on the file.  Saving an edit; then truncating the file again but to 
a different file name than the original then comm -2 file1 file2 would 
show lines only in file2 not in file1.


More information about the Blinux-list mailing list