Skip to content

spaced out#18

Open
Beanaddict wants to merge 3 commits intogigamonkey:mainfrom
Beanaddict:main
Open

spaced out#18
Beanaddict wants to merge 3 commits intogigamonkey:mainfrom
Beanaddict:main

Conversation

@Beanaddict
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Owner

@gigamonkey gigamonkey left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Really close!

Comment thread build/spaced-out.sh
@@ -6,7 +6,7 @@ S="$1"
FILE=spacing.txt

for ((i = 1; i < ${#S}; i++)); do
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Close. But I think you're losing the first character of the secret.

Comment thread build/spaced-out.sh

for ((i = 1; i < ${#S}; i++)); do
echo "__ ${S:i:1}" >> "$FILE"
echo -n "__${S:i:1}" >> "$FILE"
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This -n is right here but it might be nice after the loop to do one more echo "" >> "$FILE" so the line ends with a newline.

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.

2 participants