view demo/workspace/1. Edit and Parse Story.sh~ @ 1:eb3b846ae0ef tip

second commit
author Emmanouil Theofanis Chourdakis <e.t.chourdakis@qmul.ac.uk>
date Wed, 16 May 2018 18:13:41 +0100
parents 4dad87badb0c
children
line wrap: on
line source
#!/bin/bash

if [ ! story.txt ]; then
    touch story.txt
fi

xdg-open story.txt
read -p "Please edit and save a new story. Then press enter to continue."