Skip to main content
deleted 11 characters in body
Source Link
marcosm
  • 1.1k
  • 5
  • 10

Bash, 47 43 4340 bytes

printf '%02x '%x {32..126}|xxd -pr -r|trp|tr -d $1"$1"

Try it online!Try it online!

Generates hexa range, inverts hex dump to char an removes characters present in first parameter.

Bash, 47 43 bytes

printf '%02x ' {32..126}|xxd -p -r|tr -d $1

Try it online!

Generates hexa range, inverts hex dump to char an removes characters present in first parameter.

Bash, 47 43 40 bytes

printf %x {32..126}|xxd -r -p|tr -d "$1"

Try it online!

Generates hexa range, inverts hex dump to char an removes characters present in first parameter.

added 5 characters in body
Source Link
marcosm
  • 1.1k
  • 5
  • 10

Bash, 4747 43 bytes

bc<<<"obase=16;`seqprintf 32'%02x 126`"|xxd' {32..126}|xxd -p -r|tr -d $1

Try it online!Try it online!

Generates hexa range, inverts hex dump to char an removes characters present in first parameter.

Bash, 47 bytes

bc<<<"obase=16;`seq 32 126`"|xxd -p -r|tr -d $1

Try it online!

Generates hexa range, inverts hex dump to char an removes characters present in first parameter.

Bash, 47 43 bytes

printf '%02x ' {32..126}|xxd -p -r|tr -d $1

Try it online!

Generates hexa range, inverts hex dump to char an removes characters present in first parameter.

Source Link
marcosm
  • 1.1k
  • 5
  • 10

Bash, 47 bytes

bc<<<"obase=16;`seq 32 126`"|xxd -p -r|tr -d $1

Try it online!

Generates hexa range, inverts hex dump to char an removes characters present in first parameter.