-
file append
Hi,
i got a input text file,its data is as follows:
*the number dont exist in the input test file,added for reference only*
Code:
1. intial line
2. second line of file
3. hope you are having great day
4.thankin you
5.Rahul
6.
7.
*line 6,7 is blank*
Now,I am supposed to append this line "last line of file" to that text file.
appended line at the end of the file or after the last text line . ?????
In generally speaking terms,the appended line should be at line 8,or at line 6???Do share.Thanks.
-
I would personally say at the end of the file (line 8) if lines 6 and 7 exist and are either newlines or full of some indeterminate number of spaces. Someone else may have a different preference.
-
I'd agree with hk_mp5kpdw on this.