conversations
listlengths
2
2
[ { "from": "human", "value": "Delete all matching nodes in place (source file is changed) via the `xmlstarlet` command" }, { "from": "gpt", "value": "`xmlstarlet edit --inplace --delete {{xpath}} {{file.xml}}`" } ]
[ { "from": "human", "value": "Escape or unescape special XML characters in a given string via the `xmlstarlet` command" }, { "from": "gpt", "value": "`xmlstarlet [un]escape {{string}}`" } ]
[ { "from": "human", "value": "List a given directory as XML (omit argument to list current directory) via the `xmlstarlet` command" }, { "from": "gpt", "value": "`xmlstarlet ls {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Tell me about `xmlto`." }, { "from": "gpt", "value": "Apply an XSL stylesheet to an XML document.\nMore information: <https://pagure.io/xmlto>.\n" } ]
[ { "from": "human", "value": "Convert a DocBook XML document to PDF format via the `xmlto` command" }, { "from": "gpt", "value": "`xmlto {{pdf}} {{document.xml}}`" } ]
[ { "from": "human", "value": "Convert a DocBook XML document to HTML format and store the resulting files in a separate directory via the `xmlto` command" }, { "from": "gpt", "value": "`xmlto -o {{path/to/html_files}} {{html}} {{document.xml}}`" } ]
[ { "from": "human", "value": "Convert a DocBook XML document to a single HTML file via the `xmlto` command" }, { "from": "gpt", "value": "`xmlto {{html-nochunks}} {{document.xml}}`" } ]
[ { "from": "human", "value": "Specify a stylesheet to use while converting a DocBook XML document via the `xmlto` command" }, { "from": "gpt", "value": "`xmlto -x {{stylesheet.xsl}} {{output_format}} {{document.xml}}`" } ]
[ { "from": "human", "value": "Tell me about `xml transform`." }, { "from": "gpt", "value": "Transform XML documents using XSLT.\nMore information: <https://xmlstar.sourceforge.net/docs.php>.\n" } ]
[ { "from": "human", "value": "Transform an XML document using an XSL stylesheet, passing one XPATH parameter and one literal string parameter via the `xml-transform` command" }, { "from": "gpt", "value": "`xml transform {{path/to/stylesheet.xsl}} -p \"{{Count='count(/xml/table/rec)'}}\" -s {{Text...
[ { "from": "human", "value": "Display help via the `xml-transform` command" }, { "from": "gpt", "value": "`xml transform --help`" } ]
[ { "from": "human", "value": "Tell me about `xml unescape`." }, { "from": "gpt", "value": "Unescape special XML characters, e.g. `&lt;a1&gt;` → `<a1>`.\nMore information: <https://xmlstar.sourceforge.net/docs.php>.\n" } ]
[ { "from": "human", "value": "Unescape special XML characters from a string via the `xml-unescape` command" }, { "from": "gpt", "value": "`xml unescape \"{{&lt;a1&gt;}}\"`" } ]
[ { "from": "human", "value": "Unescape special XML characters from `stdin` via the `xml-unescape` command" }, { "from": "gpt", "value": "`echo \"{{&lt;a1&gt;}}\" | xml unescape`" } ]
[ { "from": "human", "value": "Display help via the `xml-unescape` command" }, { "from": "gpt", "value": "`xml escape --help`" } ]
[ { "from": "human", "value": "Tell me about `xml validate`." }, { "from": "gpt", "value": "Validate XML documents.\nMore information: <https://xmlstar.sourceforge.net/docs.php>.\n" } ]
[ { "from": "human", "value": "Validate one or more XML documents for well-formedness only via the `xml-validate` command" }, { "from": "gpt", "value": "`xml validate {{path/to/input1.xml|URI}} {{input2.xml ...}}`" } ]
[ { "from": "human", "value": "Validate one or more XML documents against a Document Type Definition (DTD) via the `xml-validate` command" }, { "from": "gpt", "value": "`xml validate --dtd {{path/to/schema.dtd}} {{path/to/input1.xml|URI}} {{input2.xml ...}}`" } ]
[ { "from": "human", "value": "Validate one or more XML documents against an XML Schema Definition (XSD) via the `xml-validate` command" }, { "from": "gpt", "value": "`xml validate --xsd {{path/to/schema.xsd}} {{path/to/input1.xml|URI}} {{input2.xml ...}}`" } ]
[ { "from": "human", "value": "Validate one or more XML documents against a Relax NG schema (RNG) via the `xml-validate` command" }, { "from": "gpt", "value": "`xml validate --relaxng {{path/to/schema.rng}} {{path/to/input1.xml|URI}} {{input2.xml ...}}`" } ]
[ { "from": "human", "value": "Display help via the `xml-validate` command" }, { "from": "gpt", "value": "`xml validate --help`" } ]
[ { "from": "human", "value": "Tell me about `xo`." }, { "from": "gpt", "value": "A pluggable, zero-configuration linting utility for JavaScript.\nMore information: <https://github.com/xojs/xo>.\n" } ]
[ { "from": "human", "value": "Lint files in the \"src\" directory via the `xo` command" }, { "from": "gpt", "value": "`xo`" } ]
[ { "from": "human", "value": "Lint a given set of files via the `xo` command" }, { "from": "gpt", "value": "`xo {{path/to/file1.js path/to/file2.js ...}}`" } ]
[ { "from": "human", "value": "Automatically fix any lint issues found via the `xo` command" }, { "from": "gpt", "value": "`xo --fix`" } ]
[ { "from": "human", "value": "Lint using spaces as indentation instead of tabs via the `xo` command" }, { "from": "gpt", "value": "`xo --space`" } ]
[ { "from": "human", "value": "Lint using the \"prettier\" code style via the `xo` command" }, { "from": "gpt", "value": "`xo --prettier`" } ]
[ { "from": "human", "value": "Tell me about `xonsh`." }, { "from": "gpt", "value": "Python-powered, cross-platform, Unix-gazing shell.\nWrite and mix sh/Python code in Xonsh (pronounced conch).\nMore information: <https://xon.sh>.\n" } ]
[ { "from": "human", "value": "Start an interactive shell session via the `xonsh` command" }, { "from": "gpt", "value": "`xonsh`" } ]
[ { "from": "human", "value": "Execute a single command and then exit via the `xonsh` command" }, { "from": "gpt", "value": "`xonsh -c \"{{command}}\"`" } ]
[ { "from": "human", "value": "Run commands from a script file and then exit via the `xonsh` command" }, { "from": "gpt", "value": "`xonsh {{path/to/script_file.xonsh}}`" } ]
[ { "from": "human", "value": "Define environment variables for the shell process via the `xonsh` command" }, { "from": "gpt", "value": "`xonsh -D{{name1}}={{value1}} -D{{name2}}={{value2}}`" } ]
[ { "from": "human", "value": "Load the specified `.xonsh` or `.json` configuration files via the `xonsh` command" }, { "from": "gpt", "value": "`xonsh --rc {{path/to/file1.xonsh}} {{path/to/file2.json}}`" } ]
[ { "from": "human", "value": "Skip loading the `.xonshrc` configuration file via the `xonsh` command" }, { "from": "gpt", "value": "`xonsh --no-rc`" } ]
[ { "from": "human", "value": "Tell me about `xpdf`." }, { "from": "gpt", "value": "Portable Document Format (PDF) file viewer.\nMore information: <https://www.xpdfreader.com/xpdf-man.html>.\n" } ]
[ { "from": "human", "value": "Open a PDF file via the `xpdf` command" }, { "from": "gpt", "value": "`xpdf {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Open a specific page in a PDF file via the `xpdf` command" }, { "from": "gpt", "value": "`xpdf {{path/to/file.pdf}} :{{page_number}}`" } ]
[ { "from": "human", "value": "Open a compressed PDF file via the `xpdf` command" }, { "from": "gpt", "value": "`xpdf {{path/to/file.pdf.tar}}`" } ]
[ { "from": "human", "value": "Open a PDF file in fullscreen mode via the `xpdf` command" }, { "from": "gpt", "value": "`xpdf -fullscreen {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Specify the initial zoom via the `xpdf` command" }, { "from": "gpt", "value": "`xpdf -z {{75}}% {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Specify the initial zoom at page width or full page via the `xpdf` command" }, { "from": "gpt", "value": "`xpdf -z {{page|width}} {{path/to/file.pdf}}`" } ]
[ { "from": "human", "value": "Tell me about `xplr`." }, { "from": "gpt", "value": "Terminal-based file system explorer.\nMore information: <https://xplr.dev>.\n" } ]
[ { "from": "human", "value": "Open a directory via the `xplr` command" }, { "from": "gpt", "value": "`xplr {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Focus on a file via the `xplr` command" }, { "from": "gpt", "value": "`xplr {{path/to/file}}`" } ]
[ { "from": "human", "value": "Focus on a directory via the `xplr` command" }, { "from": "gpt", "value": "`xplr --force-focus {{path/to/directory}}`" } ]
[ { "from": "human", "value": "Open a directory with specific files or directories selected via the `xplr` command" }, { "from": "gpt", "value": "`xplr {{path/to/directory}} {{path/to/selected_file_or_directory1}} {{path/to/selected_file_or_directory2}}`" } ]
[ { "from": "human", "value": "Tell me about `xpmtoppm`." }, { "from": "gpt", "value": "Convert an X11 pixmap to a PPM image.\nMore information: <https://netpbm.sourceforge.net/doc/xpmtoppm.html>.\n" } ]
[ { "from": "human", "value": "Convert an XPM image to a PPM image via the `xpmtoppm` command" }, { "from": "gpt", "value": "`xpmtoppm {{path/to/input_file.xpm}} > {{path/to/output_file.ppm}}`" } ]
[ { "from": "human", "value": "Store the transparency mask of the input image in the specified file via the `xpmtoppm` command" }, { "from": "gpt", "value": "`xpmtoppm {{[-a|--alphaout]}} {{path/to/alpha_file.pbm}} {{path/to/input_file.xpm}} > {{path/to/output_file.ppm}}`" } ]
[ { "from": "human", "value": "Tell me about `xprop`." }, { "from": "gpt", "value": "Display window and font properties in an X server.\nMore information: <https://manned.org/xprop>.\n" } ]
[ { "from": "human", "value": "Display the name of the root window via the `xprop` command" }, { "from": "gpt", "value": "`xprop -root WM_NAME`" } ]
[ { "from": "human", "value": "Display the window manager hints for a window via the `xprop` command" }, { "from": "gpt", "value": "`xprop -name \"{{window_name}}\" WM_HINTS`" } ]
[ { "from": "human", "value": "Display the point size of a font via the `xprop` command" }, { "from": "gpt", "value": "`xprop -font \"{{font_name}}\" POINT_SIZE`" } ]
[ { "from": "human", "value": "Display all the properties of the window with the ID 0x200007 via the `xprop` command" }, { "from": "gpt", "value": "`xprop -id {{0x200007}}`" } ]
[ { "from": "human", "value": "Tell me about `xsp`." }, { "from": "gpt", "value": "Mono ASP.NET Web Server.\nMore information: <https://www.mono-project.com/docs/web/aspnet/>.\n" } ]
[ { "from": "human", "value": "Listen on all interfaces (`0.0.0.0`) and port `8080` via the `xsp` command" }, { "from": "gpt", "value": "`xsp`" } ]
[ { "from": "human", "value": "Listen on a specific IP address and port via the `xsp` command" }, { "from": "gpt", "value": "`xsp --address {{127.0.0.1}} --port {{8000}}`" } ]
[ { "from": "human", "value": "Tell me about `xsv`." }, { "from": "gpt", "value": "A CSV command-line toolkit written in Rust.\nMore information: <https://github.com/BurntSushi/xsv>.\n" } ]
[ { "from": "human", "value": "Inspect the headers of a file via the `xsv` command" }, { "from": "gpt", "value": "`xsv headers {{path/to/file.csv}}`" } ]
[ { "from": "human", "value": "Count the number of entries via the `xsv` command" }, { "from": "gpt", "value": "`xsv count {{path/to/file.csv}}`" } ]
[ { "from": "human", "value": "Get an overview of the shape of entries via the `xsv` command" }, { "from": "gpt", "value": "`xsv stats {{path/to/file.csv}} | xsv table`" } ]
[ { "from": "human", "value": "Select a few columns via the `xsv` command" }, { "from": "gpt", "value": "`xsv select {{column1,column2}} {{path/to/file.csv}}`" } ]
[ { "from": "human", "value": "Show 10 random entries via the `xsv` command" }, { "from": "gpt", "value": "`xsv sample {{10}} {{path/to/file.csv}}`" } ]
[ { "from": "human", "value": "Join a column from one file to another via the `xsv` command" }, { "from": "gpt", "value": "`xsv join --no-case {{column1}} {{path/to/file1.csv}} {{column2}} {{path/to/file2.csv}} | xsv table`" } ]
[ { "from": "human", "value": "Tell me about `xteddy`." }, { "from": "gpt", "value": "A cuddly teddy bear for your X Windows desktop.\nMore information: <https://manned.org/xteddy>.\n" } ]
[ { "from": "human", "value": "Display a cuddly teddy bear on your X desktop via the `xteddy` command" }, { "from": "gpt", "value": "`xteddy`" } ]
[ { "from": "human", "value": "Use the window manager to display the teddy bear and ignore the \"quit\" (`q`) command via the `xteddy` command" }, { "from": "gpt", "value": "`xteddy -wm -noquit`" } ]
[ { "from": "human", "value": "Make the teddy bear stay on top of all other windows via the `xteddy` command" }, { "from": "gpt", "value": "`xteddy -float`" } ]
[ { "from": "human", "value": "Display another image [F]ile instead of the cuddly teddy bear via the `xteddy` command" }, { "from": "gpt", "value": "`xteddy -F {{path/to/image}}`" } ]
[ { "from": "human", "value": "Set the initial location of the teddy bear (`width` and `height` are ignored) via the `xteddy` command" }, { "from": "gpt", "value": "`xteddy -geometry {{width}}x{{height}}+{{x}}+{{y}}`" } ]
[ { "from": "human", "value": "Tell me about `xvminitoppm`." }, { "from": "gpt", "value": "Convert an XV thumbnail picture to PPM.\nMore information: <https://netpbm.sourceforge.net/doc/xvminitoppm.html>.\n" } ]
[ { "from": "human", "value": "Convert an XV thumbnail image file to PPM via the `xvminitoppm` command" }, { "from": "gpt", "value": "`xvminitoppm {{path/to/input_file}} > {{path/to/output_file.ppm}}`" } ]
[ { "from": "human", "value": "Tell me about `xwdtopnm`." }, { "from": "gpt", "value": "Convert an X11 or X10 window dump file to PNM.\nMore information: <https://netpbm.sourceforge.net/doc/xwdtopnm.html>.\n" } ]
[ { "from": "human", "value": "Convert a XWD image file to PBM via the `xwdtopnm` command" }, { "from": "gpt", "value": "`xwdtopnm {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}`" } ]
[ { "from": "human", "value": "Display information about the conversion process via the `xwdtopnm` command" }, { "from": "gpt", "value": "`xwdtopnm {{[-verb|-verbose]}} {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}`" } ]
[ { "from": "human", "value": "Display the contents of the X11 header of the input file via the `xwdtopnm` command" }, { "from": "gpt", "value": "`xwdtopnm {{[-h|-headerdump]}} {{path/to/input_file.xwd}} > {{path/to/output_file.pnm}}`" } ]
[ { "from": "human", "value": "Tell me about `xwininfo`." }, { "from": "gpt", "value": "Display information about windows.\nSee also: `xprop`, `xkill`.\nMore information: <https://www.x.org/releases/current/doc/man/man1/xwininfo.1.xhtml>.\n" } ]
[ { "from": "human", "value": "Display a cursor to select a window to display its attributes (id, name, size, position, ...) via the `xwininfo` command" }, { "from": "gpt", "value": "`xwininfo`" } ]
[ { "from": "human", "value": "Display the tree of all windows via the `xwininfo` command" }, { "from": "gpt", "value": "`xwininfo -tree -root`" } ]
[ { "from": "human", "value": "Display the attributes of a window with a specific ID via the `xwininfo` command" }, { "from": "gpt", "value": "`xwininfo -id {{id}}`" } ]
[ { "from": "human", "value": "Display the attributes of a window with a specific name via the `xwininfo` command" }, { "from": "gpt", "value": "`xwininfo -name {{name}}`" } ]
[ { "from": "human", "value": "Display the ID of a window searching by name via the `xwininfo` command" }, { "from": "gpt", "value": "`xwininfo -tree -root | grep {{keyword}} | head -1 | perl -ne 'print $1 if /(0x[\\da-f]+)/ig;'`" } ]
[ { "from": "human", "value": "Tell me about `xxd`." }, { "from": "gpt", "value": "Create a hexadecimal representation (hexdump) from a binary file, or vice-versa.\nMore information: <https://manned.org/xxd>.\n" } ]
[ { "from": "human", "value": "Generate a hexdump from a binary file and display the output via the `xxd` command" }, { "from": "gpt", "value": "`xxd {{input_file}}`" } ]
[ { "from": "human", "value": "Generate a hexdump from a binary file and save it as a text file via the `xxd` command" }, { "from": "gpt", "value": "`xxd {{input_file}} {{output_file}}`" } ]
[ { "from": "human", "value": "Display a more compact output, replacing consecutive zeros (if any) with a star via the `xxd` command" }, { "from": "gpt", "value": "`xxd -a {{input_file}}`" } ]
[ { "from": "human", "value": "Display the output with 10 columns of one octet (byte) each via the `xxd` command" }, { "from": "gpt", "value": "`xxd -c {{10}} {{input_file}}`" } ]
[ { "from": "human", "value": "Display output only up to a length of 32 bytes via the `xxd` command" }, { "from": "gpt", "value": "`xxd -l {{32}} {{input_file}}`" } ]
[ { "from": "human", "value": "Display the output in plain mode, without any gaps between the columns via the `xxd` command" }, { "from": "gpt", "value": "`xxd -p {{input_file}}`" } ]
[ { "from": "human", "value": "Revert a plaintext hexdump back into binary, and save it as a binary file via the `xxd` command" }, { "from": "gpt", "value": "`xxd -r -p {{input_file}} {{output_file}}`" } ]
[ { "from": "human", "value": "Tell me about `xxh`." }, { "from": "gpt", "value": "Bring your shell with all of your customizations through SSH sessions.\nNote: xxh does not install anything into system directories on the target machine; removing `~/.xxh` will clear all traces of xxh on the target...
[ { "from": "human", "value": "Connect to a host and run the current shell via the `xxh` command" }, { "from": "gpt", "value": "`xxh \"{{host}}\"`" } ]
[ { "from": "human", "value": "Install the current shell into the target machine without prompting via the `xxh` command" }, { "from": "gpt", "value": "`xxh \"{{host}}\" ++install`" } ]
[ { "from": "human", "value": "Run the specified shell on the target machine via the `xxh` command" }, { "from": "gpt", "value": "`xxh \"{{host}}\" ++shell {{xonsh|zsh|fish|bash|osquery}}`" } ]
[ { "from": "human", "value": "Use a specific xxh configuration directory on the target machine via the `xxh` command" }, { "from": "gpt", "value": "`xxh \"{{host}}\" ++host-xxh-home {{~/.xxh}}`" } ]
[ { "from": "human", "value": "Use the specified configuration file on the host machine via the `xxh` command" }, { "from": "gpt", "value": "`xxh \"{{host}}\" ++xxh-config {{~/.config/xxh/config.xxhc}}`" } ]
[ { "from": "human", "value": "Specify a password to use for the SSH connection via the `xxh` command" }, { "from": "gpt", "value": "`xxh \"{{host}}\" ++password \"{{password}}\"`" } ]
[ { "from": "human", "value": "Install an xxh package on the target machine via the `xxh` command" }, { "from": "gpt", "value": "`xxh \"{{host}}\" ++install-xxh-packages {{package}}`" } ]
[ { "from": "human", "value": "Set an environment variable for the shell process on the target machine via the `xxh` command" }, { "from": "gpt", "value": "`xxh \"{{host}}\" ++env {{name}}={{value}}`" } ]
[ { "from": "human", "value": "Tell me about `x_x`." }, { "from": "gpt", "value": "View Excel and CSV files.\nMore information: <https://github.com/kristianperkins/x_x>.\n" } ]