|
From: | Rik |
Subject: | [Octave-bug-tracker] [bug #60806] Usability enhancement - include usage instructions in files generated by save |
Date: | Tue, 22 Jun 2021 17:06:45 -0400 (EDT) |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/91.0.4472.101 Safari/537.36 |
Update of bug #60806 (project octave): Status: None => Need Info _______________________________________________________ Follow-up Comment #1: Try 'help save_header_format_string'. There is already an internal variable that can be set by the user to be the header for text files. This works for me: curr_hdr = save_header_format_string (); new_hdr = strcat (... "# This data-containing file has been generated via the octave 'save' command.\n", "# Use the 'load' command to add its contents to a new session.\n", "#\n", curr_hdr); save_header_format_string (new_hdr); x = pi; save -text tst.var x _______________________________________________________ Reply to this item at: <https://savannah.gnu.org/bugs/?60806> _______________________________________________ Message sent via Savannah https://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |