[
https://issues.apache.org/jira/browse/HADOOP-7795?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13193167#comment-13193167
]
Daryn Sharp commented on HADOOP-7795:
-------------------------------------
I think the option would be nice to have to more closely mimic *nix. However I
don't agree with modifying {{IOUtils}}. {{-cat}} could do a line-by-line read
from the stream itself and add line numbers.
> add -n option for FSshell cat
> -----------------------------
>
> Key: HADOOP-7795
> URL: https://issues.apache.org/jira/browse/HADOOP-7795
> Project: Hadoop Common
> Issue Type: Improvement
> Components: fs
> Affects Versions: 0.24.0
> Reporter: XieXianshan
> Assignee: XieXianshan
> Fix For: 0.24.0
>
> Attachments: HADOOP-7795.patch
>
>
> Add -n option for cat to display the files with line numbers.It's quite
> useful if you're reading big files.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira