Purchase Solution

Solving a shell script issue when bash encounters unwanted linefeed characters 'r' : command not found line

Not what you're looking for?

Ask Custom Question

Some operating system shells use linefeed characters 'r' as new line characters (such as some Mac OS). When a script containing these invisible characters are interpreted by Linux or *nix shells, they are flagged as errors, since *nix uses 'n' as new lines. For example they might produce the following error: command not found line
Show how to get rid of these 'r' characters.

Purchase this Solution

Solution Summary

This solution shows how to remove the invisible 'r' characters that are interpreted as errors by Linux.

Solution Preview

Some operating system shells use linefeed characters 'r' as new line characters (such as some Mac OS). When a script containing these invisible ...

Purchase this Solution


Free BrainMass Quizzes
C# variables and classes

This quiz contains questions about C# classes and variables.

Word 2010: Tables

Have you never worked with Tables in Word 2010? Maybe it has been a while since you have used a Table in Word and you need to brush up on your skills. Several keywords and popular options are discussed as you go through this quiz.

Inserting and deleting in a linked list

This quiz tests your understanding of how to insert and delete elements in a linked list. Understanding of the use of linked lists, and the related performance aspects, is an important fundamental skill of computer science data structures.

Basic Computer Terms

We use many basic terms like bit, pixel in our usual conversations about computers. Are we aware of what these mean? This little quiz is an attempt towards discovering that.

Word 2010: Table of Contents

Ever wondered where a Table of Contents in a Word document comes from? Maybe you need a refresher on the topic? This quiz will remind you of the keywords and options used when working with a T.O.C. in Word 2010.