Stories
Slash Boxes
Comments

SoylentNews is people

posted by martyb on Tuesday December 01 2015, @07:50PM   Printer-friendly
from the features-are-beneficial-bugs dept.

We make very careful considerations about the interface and operation of the GNU coreutils, but unfortunately due to backwards compatibility reasons, some behaviours or defaults of these utilities can be confusing.

This information will continue to be updated and overlaps somewhat with the coreutils FAQ, with this list focusing on less frequent potential issues.

Good tips and reminders for those who don't work mostly with a CLI (Command Line Interface).


[What has been YOUR biggest CLI gotcha? -Ed.]

Original Submission

 
This discussion has been archived. No new comments can be posted.
Display Options Threshold/Breakthrough Mark All as Read Mark All as Unread
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
  • (Score: 3, Informative) by termigator on Wednesday December 02 2015, @12:14AM

    by termigator (4271) on Wednesday December 02 2015, @12:14AM (#270416)

    But the parsing rules regarding quoted content and variable expansion is insane.

    I have the unfortunate task of maintaining DOS script wrappers for a project, and trying to do things I can do easily in *nix-based shells is an experience I would like to forget.

    Starting Score:    1  point
    Moderation   +1  
       Informative=1, Total=1
    Extra 'Informative' Modifier   0  
    Karma-Bonus Modifier   +1  

    Total Score:   3  
  • (Score: 0) by Anonymous Coward on Wednesday December 02 2015, @01:16PM

    by Anonymous Coward on Wednesday December 02 2015, @01:16PM (#270614)
    Where possible I switch to perl or python on windows. And sometime vbscript is better that bat. Supposedly powershell is not too bad.