Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 09-02-2006, 10:14 PM   #1
Registered: Jan 2006
Distribution: Slackware and Blag
Posts: 36

Rep: Reputation: 15
Exclamation cat in asm/ cat --show-all option

I'm rewriting cat in assembly, primarily to get better at asm, partially to make cat 50% smaller (or at least thats my goal, but cat is about 21000 bytes, it shouldn't be hard). Heres my questions. What exactly does the -A, --show-all option do? From what I can see, it just shows $ on new lines and ^I on every filled line. What exactly is this? I'm sure appending these values would not create the desired effect. Thanks in advance.
Old 09-02-2006, 10:31 PM   #2
Senior Member
Registered: Jan 2005
Location: Manalapan, NJ
Distribution: Fedora x86 and x86_64, Debian PPC and ARM, Android
Posts: 4,593
Blog Entries: 2

Rep: Reputation: 330Reputation: 330Reputation: 330Reputation: 330
It basically shows control characters in the file using common notation ($ for EOL, ^? otherwise). You can 'man cat' for the details.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Cat intervade Linux - Newbie 7 05-21-2006 03:18 PM
My Cat unimaginative General 71 02-18-2004 02:08 PM
Cat ... Beuzekom Linux - Newbie 4 01-19-2004 06:32 PM
cat notsoevil Linux From Scratch 3 02-14-2002 11:16 AM
regarding cat gui10 Linux - Security 6 12-07-2001 09:09 PM

All times are GMT -5. The time now is 03:36 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration