Home > Syntax Error > Bashrc Line Syntax Error Unexpected End Of File

Bashrc Line Syntax Error Unexpected End Of File

Contents

If I remove these functions, this error goes away. Another thing you might try is having a an empty newline at the end of each file -have you upgraded bash recently? Can Customs make me go back to return my electronic equipment or is it a scam? How would family relationships change if legal system uses collective punishment? his comment is here

shopt -oq posix; then 143 . /etc/bash_completion 144 fi actionparsnip (andrew-woodhead666) said on 2013-09-06: #3 looks ok. Check here for an example of this error that was fixed by editing another file: stackoverflow.com/questions/31211571/… –Nathan Basanese Jul 3 '15 at 18:56 add a comment| 4 Answers 4 active oldest You are currently viewing LQ as a guest. Skeletal formula for carbon with two double bonds Why did companions have such high social standing?

Syntax Error Unexpected End Of File Php

And so forth. Are you new to LinuxQuestions.org? share|improve this answer answered Aug 13 '12 at 8:03 bitmask 13.7k644103 add a comment| up vote 0 down vote I had a similar problem, it turned out to be a missing mRgOBLIN View Public Profile View LQ Blog View Review Entries View HCL Entries Visit mRgOBLIN's homepage!

What could cause the throttle to stick in my Ford Ranger? Join our community today! shopt -s checkwinsize # If set, the pattern "**" used in a pathname expansion context will # match all files and zero or more directories and subdirectories. #shopt -s globstar # Syntax Error Unexpected End Of File Shell Script Introduction to Linux - A Hands on Guide This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started

jamesf View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by jamesf 12-19-2010, 03:15 PM #8 xri Member Registered: Aug 2002 Distribution: Slackware Find More Posts by mRgOBLIN 12-19-2010, 04:54 PM #10 Keith Hedger Senior Member Registered: Jun 2010 Location: Wiltshire, UK Distribution: Linux From Scratch, Slackware64, Partedmagic Posts: 2,223 Rep: You basic HTML tags are also supported learn more about Markdown Question tags: ssh ×95 .bashrc ×1 .bash_profile ×1 question asked: 18 Oct '15, 09:35 question was seen: 788 times last updated: At first glance the file looks okay, so I'd suggest you comment out every single line (with #) and see if the error still manifests.

Bar to add a line break simply add two spaces to where you would like the new line to be. Syntax Error Unexpected End Of File Python The time now is 02:04 AM. Keith Hedger View Public Profile View LQ Blog View Review Entries View HCL Entries Visit Keith Hedger's homepage! share|improve this answer answered Nov 4 '14 at 0:18 Simón 1 add a comment| up vote -1 down vote This .bashrc shall have been edited from windows.

Syntax Error Unexpected End Of File Bash

freephys Linux - Newbie 3 06-24-2010 09:03 AM syntax error: unexpected end of file ygdrazil Linux - Newbie 3 07-23-2009 05:00 AM Bash script -----------syntax error: unexpected end of file ArthurHuang Dennis numbers 2.0 Why can a Gnome grapple a Goliath? Syntax Error Unexpected End Of File Php Find More Posts by Keith Hedger 12-19-2010, 02:06 PM #7 jamesf Member Registered: Dec 2004 Location: USA Distribution: Slackware 12 and higher Posts: 229 Rep: Quote: Originally Posted by Syntax Error Unexpected End Of File Wordpress vBulletin 2000 - 2016, Jelsoft Enterprises Ltd.

What to tell to a rejected candidate? this content Modern soldiers carry axes instead of combat knives. Intuition behind Harmonic Analysis in Analytic Number Theory Limit involving exponentials and arctangent without L'Hôpital How to map and sum a list fast? try Code: cat -An ~/.bashrc | tail -3 to see the last few lines with control characters / line endings Adv Reply March 21st, 2014 #3 Impavidus View Profile View Syntax Error Unexpected End Of File Bash Script

current community blog chat Super User Meta Super User your communities Sign up or log in to customize your list. catkin View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by catkin View Blog Page 1 of 2 1 2 > Thread Tools Show h () { history | fgrep $1 | sort -u | cut -b 8- } Change it to this: h () { history | fgrep $1 | sort -u | cut weblink current community chat Stack Overflow Meta Stack Overflow your communities Sign up or log in to customize your list.

That would be a good start. Syntax Error Unexpected End Of File Unix asked 4 years ago viewed 5898 times active 5 months ago Linked 0 .bashrc error bash: /home/jason/.bashrc: line 115: syntax error: unexpected end of file Related 1608How do I tell if Video displays in Star Wars What does Sauron need with mithril?

more hot questions question feed lang-bsh about us tour help blog chat data legal privacy policy work here advertising info mobile contact us feedback Technology Life / Arts Culture / Recreation

cat >> .bashrc << EOF h () { history | fgrep \$1 | sort -u | cut -b 8- ; } extract () { if [ -f \$1 ] ; then Bye, Michel michel-kraemer closed this Apr 15, 2012 Linutux commented Apr 15, 2012 Thanks. if [ -f ~/.bash_aliases ]; then . ~/.bash_aliases fi # enable programmable completion features (you don't need to enable # this, if it's already enabled in /etc/bash.bashrc and /etc/profile # sources Syntax Error Unexpected End Of File Laravel Adv Reply Quick Navigation General Help Top Site Areas Settings Private Messages Subscriptions Who's Online Search Forums Forums Home Forums The Ubuntu Forum Community Ubuntu Official Flavours Support New to

Why don't most major game engines use gifs for animated textures? Why? The indicated hints are terribly vague. http://onlinetvsoftware.net/syntax-error/bin-sh-module-line-1-syntax-error-unexpected-end-of-file.php These Aren't Roasted!

Use internal bash # globbing instead of external grep binary. Are they incorrect? asked 5 years ago viewed 1345 times active 9 months ago Related 317Difference between .bashrc and .bash_profile7Unexpected behavior in Bash5Run parts of .bashrc asynchronously2unexpected EOF while looking for matching `''3.bashrc function Terms Privacy Security Status Help You can't perform that action at this time.

If you'd like to contribute content, let us know. Perhaps commenting out sections and seeing if the problem continues might help. -- Jerry gesbbb at yahoo.com It destroys one's nerves to be amiable every day to the same human being. Sign in to comment Contact GitHub API Training Shop Blog About © 2016 GitHub, Inc. Personal Open source Business Explore Sign up Sign in Pricing Blog Support Search GitHub This repository Watch 1 Star 6 Fork 4 michel-kraemer/gitaliases Code Issues 0 Pull requests 0 Projects 0

the 0a is the correct linux line ending, if its a dos line ending it will be 0d 0a 1 members found this post helpful. If I uncomment either one, then I get the same error message shown on the initial post. Foo 2. Is my workplace warning for texting my boss's private phone at night justified?

Did Donald Trump call Alicia Machado "Miss Piggy" and "Miss Housekeeping"? Note that registered members see fewer ads, and ContentLink is completely disabled once you log in. Why? Find More Posts by gnashley 12-19-2010, 01:11 PM #5 T3slider Senior Member Registered: Jul 2007 Distribution: Slackware64-14.1 Posts: 2,364 Rep: Does that line that gnashley noted actually work?