LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


Reply
  Search this Thread
Old 09-02-2006, 09:14 PM   #1
Tux
Member
 
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, 09:31 PM   #2
macemoneta
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: 344Reputation: 344Reputation: 344Reputation: 344
It basically shows control characters in the file using common notation ($ for EOL, ^? otherwise). You can 'man cat' for the details.
 
  


Reply


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 02:18 PM
My Cat unimaginative General 71 02-18-2004 01:08 PM
Cat ... Beuzekom Linux - Newbie 4 01-19-2004 05:32 PM
cat notsoevil Linux From Scratch 3 02-14-2002 10:16 AM
regarding cat gui10 Linux - Security 6 12-07-2001 08:09 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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