Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add newline to printf command #457

Merged
merged 1 commit into from Jul 7, 2014
Merged

Add newline to printf command #457

merged 1 commit into from Jul 7, 2014

Conversation

koenpunt
Copy link
Contributor

@koenpunt koenpunt commented Jul 7, 2014

Followup of #454

@koenpunt koenpunt changed the title Use heredoc for $SOURCE_STR and append with tee WIP | Use heredoc for $SOURCE_STR and append with tee Jul 7, 2014
@koenpunt koenpunt changed the title WIP | Use heredoc for $SOURCE_STR and append with tee Add newline to printf command Jul 7, 2014
@ljharb
Copy link
Member

ljharb commented Jul 7, 2014

If we're adding a newline, why not just use echo by itself?

@koenpunt
Copy link
Contributor Author

koenpunt commented Jul 7, 2014

Not sure, I believe because there were issues with escaped characters (\n)

ljharb added a commit that referenced this pull request Jul 7, 2014
Add newline to printf command
@ljharb ljharb merged commit a8233eb into nvm-sh:master Jul 7, 2014
@addhewarman
Copy link

I've tried this \n before and problem is still there, so managed using tee as function to add that information into my $PROFILE

@koenpunt koenpunt deleted the patch-1 branch July 7, 2014 21:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants