Skip to content

Conversation

@ghuter
Copy link

@ghuter ghuter commented Mar 3, 2020

No description provided.

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

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

Without echoing the data into and for sed to parse, sed will just sit, waiting for STDIN, so I would say in this case, the pipe is needed. If "$1" is a filename, then yeah, I agree, provided the filename is appended to the sed command.

Also, I really think that line should be split up a bit, because it's madness as it is now, IMO.

Co-Authored-By: Terminal for Life <31768530+terminalforlife@users.noreply.github.com>
@ghuter ghuter changed the title minor modification (no need for a pipe) minor modification Mar 3, 2020
@ghost
Copy link

ghost commented Mar 3, 2020

I used 4-space indenting, by the way, but I can't remember which style Brodie uses, so you might want to fix that in-case it's not 4-spaces (actual whitespaces). I'd have just tabbed, but GitHub doesn't seem to want me to do that. xD

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.

1 participant