Skip to main content
Markup.
Source Link
Kusalananda
  • 355.8k
  • 42
  • 735
  • 1.1k

show-special-characters-in-unix-while-using-less-command

To see what that character is:

less -r sourcefile

less -r sourcefile

or

od -c sourceFile

od -c sourceFile

for a more verbose view.

unix-linux-sed-ascii-control-codes-nonprintable

To sedsed out the offending control code:

sed 's/'echo "\033"'/ /g'

sed 's/'`echo "\033"`'/ /g'

where \033 is replaced with whatever is actually there.

show-special-characters-in-unix-while-using-less-command

To see what that character is:

less -r sourcefile

or

od -c sourceFile

for a more verbose view.

unix-linux-sed-ascii-control-codes-nonprintable

To sed out the offending control code:

sed 's/'echo "\033"'/ /g'

where \033 is replaced with whatever is actually there.

show-special-characters-in-unix-while-using-less-command

To see what that character is:

less -r sourcefile

or

od -c sourceFile

for a more verbose view.

unix-linux-sed-ascii-control-codes-nonprintable

To sed out the offending control code:

sed 's/'`echo "\033"`'/ /g'

where \033 is replaced with whatever is actually there.

added 56 characters in body
Source Link
SHawarden
  • 554
  • 2
  • 10

show-special-characters-in-unix-while-using-less-command

To see what that character is:

less -r sourcefile

or

od -c sourceFile

for a more verbose view.

unix-linux-sed-ascii-control-codes-nonprintable

To sed out the offending control code:

sed 's/'echo "\033"'/ /g'

where \033 is replaced with whatever is actually there.

show-special-characters-in-unix-while-using-less-command

To see what that character is:

less -r sourcefile

unix-linux-sed-ascii-control-codes-nonprintable

To sed out the offending control code:

sed 's/'echo "\033"'/ /g'

where \033 is replaced with whatever is actually there.

show-special-characters-in-unix-while-using-less-command

To see what that character is:

less -r sourcefile

or

od -c sourceFile

for a more verbose view.

unix-linux-sed-ascii-control-codes-nonprintable

To sed out the offending control code:

sed 's/'echo "\033"'/ /g'

where \033 is replaced with whatever is actually there.

Source Link
SHawarden
  • 554
  • 2
  • 10

show-special-characters-in-unix-while-using-less-command

To see what that character is:

less -r sourcefile

unix-linux-sed-ascii-control-codes-nonprintable

To sed out the offending control code:

sed 's/'echo "\033"'/ /g'

where \033 is replaced with whatever is actually there.