Skip to main content
-7
Source Link
roblogic
  • 4k
  • 18
  • 23

Zsh, 5851 bytes

Try it Online!Try it Online!

b=$g()<<<${(j::)${(os::)21:l}// }
<<<${${(j::g $1)/${(os::)1:l}//g }/$b$2)}

Similar to my other anagram solution, again using Zsh's gnarly parameter expansion. Added a few bits to lowercase everything and parse out spaces. Tried to jam everything into one fancy expression but Zsh kept complaining, so I separated out $b to make it work.

Zsh, 58 bytes

Try it Online!

b=${(j::)${(os::)2:l}// }
<<<${${(j::)${(os::)1:l}// }/$b}

Similar to my other anagram solution, again using Zsh's gnarly parameter expansion. Added a few bits to lowercase everything and parse out spaces. Tried to jam everything into one fancy expression but Zsh kept complaining, so I separated out $b to make it work.

Zsh, 51 bytes

Try it Online!

g()<<<${(j::)${(os::)1:l}// }
<<<${$(g $1)/$(g $2)}

Similar to my other anagram solution, again using Zsh's gnarly parameter expansion. Added a few bits to lowercase everything and parse out spaces.

deleted 2 characters in body
Source Link
roblogic
  • 4k
  • 18
  • 23

Zsh, 5958 bytes

try it online!Try it Online!

b=${(j::)${(os::)2:l}// };<<<$
<<<${${(j::)${(os::)1:l}// }:/$b}

Similar to my other anagram solution, again using Zsh's gnarly parameter expansion. Added a few bits to lowercase everything and parse out spaces. Tried to jam everything into one fancy expression but Zsh kept complaining, so I separated out $b to make it work.

Zsh, 59 bytes

try it online!

b=${(j::)${(os::)2:l}// };<<<${${(j::)${(os::)1:l}// }:/$b}

Similar to my other anagram solution, again using Zsh's gnarly parameter expansion. Added a few bits to lowercase everything and parse out spaces. Tried to jam everything into one fancy expression but Zsh kept complaining, so I separated out $b to make it work.

Zsh, 58 bytes

Try it Online!

b=${(j::)${(os::)2:l}// }
<<<${${(j::)${(os::)1:l}// }/$b}

Similar to my other anagram solution, again using Zsh's gnarly parameter expansion. Added a few bits to lowercase everything and parse out spaces. Tried to jam everything into one fancy expression but Zsh kept complaining, so I separated out $b to make it work.

Source Link
roblogic
  • 4k
  • 18
  • 23

Zsh, 59 bytes

try it online!

b=${(j::)${(os::)2:l}// };<<<${${(j::)${(os::)1:l}// }:/$b}

Similar to my other anagram solution, again using Zsh's gnarly parameter expansion. Added a few bits to lowercase everything and parse out spaces. Tried to jam everything into one fancy expression but Zsh kept complaining, so I separated out $b to make it work.