-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When -o is not specified in json2xom, derive the name of the output file from the name of the input file by doing the following: - Trim the filename at the last occurrence of ".json", if any. - If the remaining filename already exists in the working directory, append ".out" I.e. save100.json becomes either 'save100' or 'save100.out' depending on whether there is already a 'save100' in the working directory.
- Loading branch information
Showing
2 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters