[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Some question regarding tail and option "-c"
From: |
Robert Milasan |
Subject: |
Some question regarding tail and option "-c" |
Date: |
Wed, 3 Oct 2012 15:51:21 +0200 |
Hello, I think I found an issue, but not sure if it's a bug or
feature :)
When using option "-c" from tail there are 3 ways, two working and one
not:
1. cat /etc/passwd|tail -c 10 (doesn't work)
2. cat /etc/passwd|tail -c -10 (works)
3. tail -c 10 /etc/passwd (works)
Why does the option 2 and 3 work, but the first one doesn't?
--
Robert Milasan
L3 Support Engineer
SUSE Linux
email: address@hidden
GPG fingerprint: B6FE F4A8 0FA3 3040 3402 6FE7 2F64 167C 1909 6D1A
- Some question regarding tail and option "-c",
Robert Milasan <=
- Re: Some question regarding tail and option "-c", Bob Proulx, 2012/10/03
- Re: Some question regarding tail and option "-c", Robert Milasan, 2012/10/03
- Re: Some question regarding tail and option "-c", Jim Meyering, 2012/10/03
- Re: Some question regarding tail and option "-c", Robert Milasan, 2012/10/04
- Re: Some question regarding tail and option "-c", Jim Meyering, 2012/10/04
- Re: Some question regarding tail and option "-c", Robert Milasan, 2012/10/04
- Re: Some question regarding tail and option "-c", Jim Meyering, 2012/10/04
- Re: Some question regarding tail and option "-c", Philipp Thomas, 2012/10/05
- Re: Some question regarding tail and option "-c", Philipp Thomas, 2012/10/08
- Re: Some question regarding tail and option "-c", Jim Meyering, 2012/10/09