Afficher un message
Vieux 25/08/2006, 04h43   #8
Ben
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Posix sucks, Linux sucks, I want my compatibility back

George Fletcher wrote:
> Gold ol' Linux, bad ol' Posix. This time FC5 has broken my shell
> scripts by redefining the flags for the 'tail' command. Most notably,
> by deleting the second most used flag '+#', used to concatenate a file
> beginning at line #.
>


I couldn't believe this when I read it so I went and checked my system
(yes...I'm using FC5, please hold your flames till after the speech) and
sure enough it's true. I can't believe this. I use this kind of thing in
scripting all the time never believing I'd have to worry about it going
away on certain platforms. Can anyone suggest a good way to obtain the
same behavior with another built in command? All I can think of at the
moment is:

awk 'NR>=#' file

As a side note. If I want to get away from FC5 (yes...this issue is
enough to dishearten me) can anyone recommend a flavor that wouldn't put
me into culture shock. I'm not looking for a distro war here, just
genuinely would like to know something that's similar to FC (if that
even makes sense) but maybe more Posix. I've never used any other distro
other than FC. While I'm very familiar with FC, I can't say what my
familiarity with linux in general is due this limited experience. I do
my own sysadmin at home on this linux box though and I don't use GUI's
for any sysadmin, I prefer konsole (xterm) and vi. Thanks.

--
Contact info:
# echo orazrlre2@pbk.arg | perl -pe 'tr/a-z/n-za-m/'
  Réponse avec citation
 
Page generated in 0,06968 seconds with 9 queries