This is the command gopen that can be run in the OnWorks free hosting provider using one of our multiple free online workstations such as Ubuntu Online, Fedora Online, Windows online emulator or MAC OS online emulator
PROGRAM:
NAME
gopen - open files
SYNOPSIS
gopen [-a application] [-o] [-p] [-NXHost hostname] [filename]
DESCRIPTION
The gopen command allows you open a file (or directory) as if you had double clicked the
object's icon.
It is possible to specify one or more filenames which are interpreted relative to the
current working directory.
By default, gopen will open filename with the application currently assigned to the file's
extension. But by specifing the -a flag on the command line you can tell gopen to open the
file with another application.
You can also directly print a file without ( -p ) or with ( -p -o ) opening it.
As with most other GNUstep software, it is easily possible to attach the process to a
remote window server using the -NXHost flag.
OPTIONS
-a application
use application to open filename
-o open filename (may be used in conjunction with -p ).
-p print filename instead of opening.
-NXHost hostname
attach to remote window server on hostname
EXAMPLES
Open all files with a .txt extension in the current directory:
gopen *.txt
To open a source file in CodeEditor (instead of the current default application), type:
gopen -a CodeEditor MySourceFile.m
To print the .plan file in your home folder, use the -p flag:
gopen -p ~/.plan
Use gopen online using onworks.net services