How to see hidden characters.....


Login or Register to Reply

 
Thread Tools Search this Thread
# 1  
Old 10-23-2010
How to see hidden characters.....

I know that cat -v will show me hidden characters in a file....

I for some reason seem to think that there's a bash command that will show me hidden characters in a variable in a script? Or am I just imagining it?

Thanks in advance
# 2  
Old 10-23-2010
Interesting. I have never come across such a Bash builtin.
# 6  
Old 10-24-2010
It's unclear if the OP doesn't want "cat -v" or simply think "cat -v" is restricted to files and something different should be used for variables.
# 7  
Old 11-03-2010
Using a bash shell cat -v only seems to work on files, the example given above with echo $variable | cat -v doesn't produce any output.
Login or Register to Reply

|
Thread Tools Search this Thread
Search this Thread:
Advanced Search

More UNIX and Linux Forum Topics You Might Find Helpful
ksh hidden characters in variables user052009 Shell Programming and Scripting 12 11-19-2017 02:56 PM
Rsync - how to copy hidden folder or hidden files when using full path jcdole Shell Programming and Scripting 2 10-09-2017 07:12 AM
Hidden characters when pasting in vi/vim dampio UNIX for Beginners Questions & Answers 3 12-02-2016 12:59 PM
List all directories hidden or not hidden servus UNIX for Dummies Questions & Answers 4 08-30-2012 11:06 AM
Hidden files pandeesh UNIX for Dummies Questions & Answers 4 07-02-2012 05:25 PM
Hidden Characters in Regular Expression Matching Perl - Perl Newbie kittyluva2 Shell Programming and Scripting 4 07-28-2011 01:31 AM
Removing "Hidden Characters" on a file Jin_ Shell Programming and Scripting 16 06-27-2011 10:08 PM
hidden files lhareigh890 UNIX for Dummies Questions & Answers 10 01-13-2011 09:49 PM
hidden characters added to commands josebenitez Shell Programming and Scripting 2 09-20-2010 07:16 PM
Hidden control characters in a Unix Text File! kewl_guy Shell Programming and Scripting 6 09-30-2008 01:09 PM
hidden Characters Khoomfire UNIX for Advanced & Expert Users 5 07-23-2008 09:11 AM
Finding Hidden files and protecting the folder containing hidden files from deletion pochaw Shell Programming and Scripting 4 12-22-2007 12:33 AM
Hidden Characters Khoomfire UNIX for Advanced & Expert Users 6 07-06-2007 04:40 AM
missing hidden characters SUSANR9999 UNIX for Dummies Questions & Answers 2 11-09-2006 03:30 PM