This manual page is part of Xcode Tools version 3.2.2

To obtain these tools:

If you are running a version of Xcode Tools other than 3.2.2, view the documentation locally:

  • In Xcode

  • In Terminal, using the man(1) command

Reading manual pages

Manual pages are intended as a quick reference for people who already understand a technology.

  • For more information about the manual page format, see the manual page for manpages(5).

  • For more information about this technology, look for other documentation in the Apple Reference Library.

  • For general information about writing shell scripts, read Shell Scripting Primer.



xed(1)                                   BSD General Commands Manual                                  xed(1)

NAME
     xed -- Xcode text editor invocation tool.

SYNOPSIS
     xed [-xcwrbhv] [-l lineno] [file ...]

DESCRIPTION
     The xed tool launches the Xcode application and opens the given documents, or opens a new untitled doc-ument, document,
     ument, optionally with the contents of standard in.

OPTIONS
     The options for xed are similar to those for the command-line utiltiies for other text editors:

     -x, --launch
              Launches Xcode opening a new empty unsaved file, without reading from standard input.

     -c, --create
              Creates any files in the file list that do not already exist.  If used without --launch, stan-dard standard
              dard input will be read and piped to the last file created.

     -w, --wait
              Wait for the files to be closed before exiting.  xed will idle in a run loop waiting for a
              notification from Xcode when each file is closed, and will only terminate when all are closed.
              This is useful when invoking it from a script.

     -l, --line <number>
              Selects the given line in the last file opened.

     -b, --background
              Opens Xcode without activating it; the process that invoked xed remains in front.

     -h, --help
              Prints a brief summary of usage.

     -v, --version
              Prints the version number of xed

     [file...]
              A list of file paths.  Existing files will be opened; nonexistent files will be created only
              if the --create flag is passed.  If no files are passed, then standard input will be read and
              piped into a new untitled dcument (unless --launch is passed).  If --create and at least one
              nonexistent file name is passed, the last nonexistent file will be created, filled with the
              standard input, and opened.

HISTORY
     xed was introduced in Mac OS X 10.5 with Xcode 3.0.

Mac OS                                          May 12, 2010                                          Mac OS

Reporting Problems

The way to report a problem with this manual page depends on the type of problem:

Content errors
Report errors in the content of this documentation with the feedback links below.
Bug reports
Report bugs in the functionality of the described tool or API through Bug Reporter.
Formatting problems
Report formatting mistakes in the online version of these pages with the feedback links below.

Did this document help you? Yes It's good, but... Not helpful...