NAME

App::OrgUtils - Some utilities for Org documents

VERSION

This document describes version 0.480 of App::OrgUtils (from Perl distribution App-OrgUtils), released on 2020-10-14.

DESCRIPTION

This distribution includes a few modules (scripts) for dealing with Org documents; some originally created as examples/demos for Org::Parser. The following are the included scripts:

FUNCTIONS

reverse_org_headlines

Usage:

reverse_org_headlines(%args) -> any

Reverse Org headlines.

This function is not exported.

Arguments ('*' denotes required arguments):

  • file => filename (default: "-")

    Path to an Org file.

    "-" means standard input.

  • level => posint (default: 1)

Return value: (any)

sort_org_headlines

Usage:

sort_org_headlines(%args) -> any

.

This function is not exported.

Arguments ('*' denotes required arguments):

  • file => filename (default: "-")

    Path to an Org file.

    "-" means standard input.

  • level => posint (default: 1)

  • sort_args => array[str]

    Arguments to pass to the Sort::Sub::* routine.

  • sort_sub => sortsub::spec

    Name of a Sort::Sub::* module (without the prefix).

Return value: (any)

HOMEPAGE

Please visit the project's homepage at https://metacpan.org/release/App-OrgUtils.

SOURCE

Source repository is at https://github.com/perlancar/perl-App-OrgUtils.

BUGS

Please report any bugs or feature requests on the bugtracker website https://rt.cpan.org/Public/Dist/Display.html?Name=App-OrgUtils

When submitting a bug or request, please include a test-file or a patch to an existing test-file that illustrates the bug or desired feature.

SEE ALSO

Org::Parser

orgsel in App::orgsel

AUTHOR

perlancar <perlancar@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2020, 2019, 2018, 2017, 2016, 2015, 2014, 2013, 2012, 2011 by perlancar@cpan.org.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.