You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When piped muxed list displays all projects on the same line
While this looks great when used interactively in the terminal, when piped and used in scripts its more common and more useful to be delimited by newlines. Realized this in my current workflow where I am using sed to replace tabs with newlines to make muxed list more script-able
Workarounds
This can be workaround by using sed. The following produces new line delimited output
muxed ls | sed -e "s/\t\t/\n/g"
Steps to reproduce
muxed ls | cat
Expected
project_1
project_2
project_3
Actual
project_1 project_2 project_3
The text was updated successfully, but these errors were encountered:
System Info
OS: Mac OS 11.1
Muxed Version: v0.8.2
Description
When piped
muxed list
displays all projects on the same lineWhile this looks great when used interactively in the terminal, when piped and used in scripts its more common and more useful to be delimited by newlines. Realized this in my current workflow where I am using
sed
to replace tabs with newlines to makemuxed list
more script-ableWorkarounds
This can be workaround by using
sed
. The following produces new line delimited outputSteps to reproduce
muxed ls | cat
Expected
Actual
project_1 project_2 project_3
The text was updated successfully, but these errors were encountered: