Then just do binary search, that is, comment in the first half of the file. Is there a way to make a metal sword resistant to lava? If you ever got to execute this line, you'd see an error bash: fi: command not found. This way I didn't need to run unix2dos share|improve this answer answered Jun 17 '13 at 10:14 zzapper 1,25322027 1 That worked for me. his comment is here
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: 787 times last updated: How to book a flight if my passport doesn't state my gender? more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed was there any more error output?
If you need to reset your password, click here. Train ride from Copenhagen to Malmo How could banks with multiple branches work in a world without quick communication? In my case, I had a duplicate ';' I believe located in the file. Train ride from Copenhagen to Malmo How to indicate you are going straight?
Is the standard Canon 18-55 lens the same as 5 years ago? A simple visual puzzle to die for What type of sequences are escape sequences starting with "\033]" Is my workplace warning for texting my boss's private phone at night justified? I don't test for PS1, I just set it. Usage: $0 host database username" exit 0 fi share|improve this answer edited Jun 16 '11 at 2:50 answered Jun 16 '11 at 2:39 aaronstacy 2,33833557 i still got the
more stack exchange communities company blog Stack Exchange Inbox Reputation and Badges sign up log in tour help Tour Start here for a quick overview of the site Help Center Detailed Bash Command Not Found Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware [SOLVED] source bashrc -> syntax error: unexpected end of file User Name Remember Me? The following commands I applied in terminal, sudo gedit $HOME/.bashrc and added some path variable like android SDK, and run the following command source ~/.bashrc then I got the error in
Obviously, it's more different then coding then I thought. When was this language released? .bashrc Line Syntax Error Unexpected End Of File T3slider View Public Profile View LQ Blog View Review Entries View HCL Entries Find More Posts by T3slider 12-19-2010, 01:29 PM #6 Keith Hedger Senior Member Registered: Jun 2010 Bash Syntax Checker Usage: $0 host database username" exit 0 fi Or, since you're using bash, you could use built-in syntax: if [[ $# -lt 3 || $# -gt 3 ]]; then echo "Error...
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 this content share|improve this answer edited Oct 6 '10 at 5:46 answered Oct 6 '10 at 5:35 codaddict 249k50361440 1 Running a bash or sh script through csh is guaranteed to give Least Common Multiple What does the "Phi" sign stand for in musical notation? Keith Hedger View Public Profile View LQ Blog View Review Entries View HCL Entries Visit Keith Hedger's homepage! Unexpected Eof While Looking For Matching `"'
gnashley View Public Profile View LQ Blog View Review Entries View HCL Entries Visit gnashley's homepage! if [[ $- != *i* ]] ; then # Shell is non-interactive. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. weblink If not, why?
I have not upgraded bash recently. Arch + dwm • Mercurial repos • GithubRegistered Linux User #482438 Offline #3 2013-08-27 22:59:34 cfr Member From: Cymru Registered: 2011-11-27 Posts: 5,675 Re: [Solved] Sourcing .bashrc gets "syntax error: unexpected Please visit this page to clear all LQ-related cookies. And yes it's what I want the script to do, not to get the present time + 10sc.
Related 2gsutil bashrc file path setting5Android SDK and Path1Commands not working after editing .bashrc file0In .bashrc how to use the output of “uname -m” as path (I get error: “uname: No Topics: Active | Unanswered Index »Newbie Corner »[Solved] Sourcing .bashrc gets "syntax error: unexpected end of file" Pages: 1 #1 2013-08-27 22:56:14 MoonSwan Member From: Great White North Registered: 2008-01-23 Posts: The time now is 07:52 PM. check over here If that works continue with the third quarter (otherwise with the first quarter).
Thank you again. –Sam Jun 3 '12 at 18:28 Oh, I just noticed an error.