search for: hellogoodbye

Displaying 1 result from an estimated 1 matches for "hellogoodbye".

2016 Dec 16
0
IRC question: appending newline to end of file
...43 < martingo_> any ideas 16:48 < martingo_> any help? An example of what can go wrong is shown here: $ guestfish -N fs -m /dev/sda1 \ write /foo "hello" : write-append /foo "goodbye\n" : hexdump /foo 00000000 68 65 6c 6c 6f 67 6f 6f 64 62 79 65 5c 6e |hellogoodbye\n| 0000000e Notice that the literal characters '\' and 'n' have been added to the file. It helps to look at the API calls being made, by adding the guestfish -x option: $ guestfish -x -N fs -m /dev/sda1 \ write /foo "hello" : write-append /foo "goodbye\n"...