Quote:
Originally Posted by
tricampeon81
because the tail +2 on the first line gives me the file name pomga I do not want anything like what I miss
tail +2 ejemplo.txt
ouput
==> ejemplo.txt <==
1
2
3
4
5
6
7
8
9
10
Expanding on what jlliagre said... I have no idea what help you are trying to get with this post.
The first line of your post is:
Quote:
because the tail +2 on the first line gives me the file name pomga I do not want anything like what I miss
Is the reference to the
tail +2 on the first line referring to the text marked in red above (which does not include the name of any file(s) to be processed), which I assume you are saying is reading from standard input??? Is there a file named
pomga? Is the contents of that file contained somewhere in your post???
Is
tail +2 ejemplo.txt a command that you're executing? Is it part of the output you are getting from the
tail +2 in the 1st line of your post?
Is
output supposed to signify that the text following it in your post is the output you are getting from some
tail command, or is it part of the output you are getting from some
tail command?
If you don't want anything like what you miss, why don't you tell us what output you do want? And, PLEASE use CODE tags so we can tell what you are trying to show us!
Is the 2nd line in a file named
ejemplo.txt an empty line? Or, is it maybe a blank line?
Is the string
==> ejemplo.txt <== the contents of the 3rd line in that file?
Are there any leading or trailing whitespace characters on any of the lines in that file? (Since you didn't use CODE tags, we can't tell???)