Skip to content

Implement -fprint #381

Closed
Closed

Description

@hanbings

refer: https://www.gnu.org/software/findutils/manual/html_node/find_html/Print-File-Name.html

Action: -fprint file

True; print the entire file name into file file, followed by a newline. 
If file does not exist when find is run, it is created; if it does exist, it is truncated to 0 bytes. 
The named output file is always created, even if no output is sent to it. 
The file names /dev/stdout and /dev/stderr are handled specially; 
they refer to the standard output and standard error output, respectively.

If there is the faintest possibility that 
one of the files for which you are searching might contain a newline, 
you should use ‘-fprint0’ instead.

Activity

  1. keys-i commented on Jul 1, 2024

    @keys-i

    this is fairly simple i think

  2. keys-i commented on Jul 1, 2024

    @keys-i

    i could add a bit for file in in printer.rs

  3. hanbings commented on Jul 1, 2024

    @hanbings
    CollaboratorAuthor

    i could add a bit for file in in printer.rs

    sure, go ahead :)

  4. keys-i commented on Jul 2, 2024

    @keys-i

    im made some addition to printer

  5. keys-i commented on Jul 2, 2024

    @keys-i

    just need to add them to mod.rs

  6. keys-i commented on Jul 2, 2024

    @keys-i

    i just need to see if the tests run or not

  7. keys-i commented on Jul 2, 2024

    @keys-i

    okay so i need to make sure everything is gnu ok

  8. hanbings commented on Jul 12, 2024

    @hanbings
    CollaboratorAuthor

    okay so i need to make sure everything is gnu ok

    hi, please feel free to open a PR if you're ready, thanks. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions