tail command : differences between solaris and linux

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I've noticed if I try to install the JMF (Java Media Framework), downloaded from Sun Micro, the script fails :

$ sh ./jmf-2_1_1e-linux-i586.bin
$ Unpacking...
<snip>
tail: cannot open `+309' for reading: No such file or directory
Extracting...
./install.sfx.5451: line 1: ==: No such file or directory
./install.sfx.5451: line 3: syntax error near unexpected token `)'
<snip>

...and the script ends up zero-length.

...and if I restore the file, then change the tail command that is trying to dump out the code section :

$ sed -i 's/tail +309/tail -n +309/g' jmf-2_1_1e-linux-i586.bin

...it's ok.

So, they use "tail +309" and Fedora 9 needs "tail -n +309". Google shows people have seen this under Ubuntu as well.

The Sun forums have a post saying it's an "OpenJDK problem", which seems doubtful.

I'm just curious if anyone has insight into this. I'm guessing this is an example of a difference between the tools on Solaris vs. Linux?

---
John

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux