To comment on the following update, log in, then open the issue:
http://www.openoffice.org/issues/show_bug.cgi?id=97352
                 Issue #|97352
                 Summary|bogus tail usage for current tails in SDK
               Component|udk
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P3
            Subcomponent|code
             Assigned to|jsc
             Reported by|rene





------- Additional comments from r...@openoffice.org Wed Dec 17 10:23:06 +0000 
2008 -------
This is a follow-up issue to issue 97041:

>From there:

[...]
------- Additional comments from rene Tue Dec 9 09:19:58 +0000 2008 -------

oh, and btw (vanilla rpms):

$ /opt/openoffice.org/basis3.0/sdk/setsdkenv_unix
tail: „+2“ kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht
gefunden
[...]
 * SDK Output directory = /home/rengelhard/openoffice.org_sdk
 * Auto deployment = YES
 *
 ************************************************************************

[...]

------- Additional comments from jsc Tue Dec 9 09:51:00 +0000 2008 -------

[...]

I can't reproduce your problem with tail ... Works for me on all Unix platforms
that i have tested (Linux - Ubuntu, Solaris x86/sparc, Mac OS) 

Can reproduce it at will. Which Ubuntu did you use? One with an old coreutils?
My 6.10 complains (got more strict) and doesn't do what it should do:

$ cat t
1
2
3
4

rengelh...@lxrengelhard:~$ tail +2 t
tail: „+2“ kann nicht zum Lesen geöffnet werden: Datei oder Verzeichnis nicht
gefunden
==> t <==
1
2
3
4

Maybe you want -c +2? See man tail:

       -c, --bytes=N
              output the last N bytes; alternatively, use +N to  output  bytes
              starting with the Nth of each file
[...]
       If the first character of N (the number of bytes or lines)  is  a  `+',
       print  beginning  with the Nth item from the start of each file, other-
       wise, print the last N items in the file.  N may have a multiplier suf-
       fix:   b   512,  kB  1000,  K  1024,  MB  1000*1000,  M  1024*1024,  GB
       1000*1000*1000, G 1024*1024*1024, and so on for T, P, E, Z, Y.

rengelh...@lxrengelhard:~$ tail -c +2 t

2
3
4

(it's the same with tail -1 or so with now has to be properly -n 1)

---------------------------------------------------------------------
Please do not reply to this automatically generated notification from
Issue Tracker. Please log onto the website and enter your comments.
http://qa.openoffice.org/issue_handling/project_issues.html#notification

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@udk.openoffice.org
For additional commands, e-mail: issues-h...@udk.openoffice.org


---------------------------------------------------------------------
To unsubscribe, e-mail: allbugs-unsubscr...@openoffice.org
For additional commands, e-mail: allbugs-h...@openoffice.org

Reply via email to