Open file to specific line number from command-line
Oxygen general issues.
-
- Posts: 1
- Joined: Sun Sep 20, 2015 9:48 am
Open file to specific line number from command-line
Is it possible to start Oxygen from the command-line to open a file to a specific line number?
I have a program that generates reports on XML files that includes line numbers into those files. It would be nice to open oxygen to a file and automatically move cursor to a given line number.
I can do this in Vi:
Will open file.xml and put cursor on line 56.
I have a program that generates reports on XML files that includes line numbers into those files. It would be nice to open oxygen to a file and automatically move cursor to a given line number.
I can do this in Vi:
Code: Select all
vi +56 file.xml
-
- Posts: 9498
- Joined: Fri Jul 09, 2004 5:18 pm
Re: Open file to specific line number from command-line
Hi,
Sure, if you are using Oxygen 17.0.
You have an example here:
http://www.oxygenxml.com/doc/versions/1 ... m-cli.html
Regards,
Radu
Sure, if you are using Oxygen 17.0.
You have an example here:
http://www.oxygenxml.com/doc/versions/1 ... m-cli.html
Regards,
Radu
Radu Coravu
<oXygen/> XML Editor
http://www.oxygenxml.com
<oXygen/> XML Editor
http://www.oxygenxml.com
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ Artificial Intelligence (AI Positron Assistant add-on)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service