How to get source code for commands like diff or cat

Hi all
I'm learning c programming and i'd like to read some code for the basic commands on the linux system
I remember apt has one such option that allows getting pakcage source code
is there a similar one for pacman ?
or do i have to search those source code myself ?
and also in BSD system all the codes are availeble in a code repository
thx

diff and cat. Or was that too literal?
Last edited by Ghost1227 (2009-04-18 23:57:55)

Similar Messages

  • How to get source code for WinCE 6.0 USB Camera Driver for ARM4I Processor

    Hi,
    I am implementing USB camera driver for my mini2440 board which has an ARM4I processor. The sample code
    "Windows Embedded CE 6.0 USB camera Driver" downloaded from:
    http://www.microsoft.com/downloads/en/details.aspx?FamilyID=2ef087c0-a4ae-42cc-abd0-c466787c11f2
    does not support ARM4I processors. When trying to generate in VS2005 Platform Builder my WinCE 6.0
    image for mini2440 with the Third party catalog items "MJPEG Decompression Filter" and "USB CameraDriver",
    the linker giver errors. Please advise where to find a working source code for USB (now revision 1.1
    ("full-speed") is supported in my WinCE 6.0 image) camera for my ARM4I processor. The code should 
    be in C# but C++ will be fine also.
    Thanks,
       Paul

    i get this on the hyperterminal when i run the cameradshowapp.exe
    Compulab Windows CE NAND X-Loader for CM-T35                                           
    Built Dec 20 2009 at 16:48:16                            
    Version 1.01.222               
    Commit Date 16/12/09                   
    Jumping to bootloader                    
    Microsoft Windows CE Bootloader Common Library Version 1.4 Built Dec 20 2009 16:                                                                               
    46:16    
    INFO:OALLogSetZones: dpCurSettings.ulZoneMask: 0x200b                                                    
    Texas Instruments Windows CE EBOOT for CM-T35, Built Dec 20 2009 at 16:48:10                                                                           
    Version 1.01.222               
    OMAP3430 Version 0x4b7ae02f (Unknown)                                    
    TPS659XX Version 0x10 (ES2.x)                            
    -OEMPinMuxSetup....                  
    System ready!            
    Preparing for download...                        
    INFO: Predownload               
    +FMD_Init        
    Checking bootloader blocks are marked as reserved (Num = 6)                                                          
    +FMD_Init        
    WARN: Boot config wasn't found, using defaults                                             
    +FMD_Init        
    OALFlashStoreOpen: 4096 blocks, 64 sectors/block                                               
    OALFlashStoreOpen: 2048 bytes/sector, 14 reserved blocks                                                       
    Calling LCD_TurnOn                 
    +FMD_Init        
    +FMD_Init        
    BLConfigureFlashPartitions: dwBootPartitionSectorCount = 0x5fff, partition actua                                                                               
    l size =0x4d3a!!!                
    Hit space to enter configuration menu 5...                                         
    Hit space to enter configuration menu 4...                                         
    Hit space to enter configuration menu 3...                                         
    Hit space to enter configuration menu 2...                                         
    Hit space to enter configuration menu 1...                                         
    INFO: Boot Device location = 0x8000020                                     
    Load NK image from flash memory                              
    +FMD_Init        
    ROMHDR (pTOC = 0x823b8c28) ---------------------                                               
      DLL First           : 0x4001c001                                 
      DLL Last            : 0x41c7c0d8                                 
      Physical First      : 0x84001000                                 
      Physical Last       : 0x863bbdec                                 
      Num Modules         :        294                                 
      RAM Start           : 0x863c0000                                 
      RAM Free            : 0x863d5000                                 
      RAM End             : 0x90800000                                 
      Num Copy Entries                        
      Copy Entries Offset : 0x85256e38                                 
      Prof Symbol Length  : 0x00000000                                 
      Prof Symbol Offset  : 0x00000000                                 
      Num Files           :        116                                 
      Kernel Flags        : 0x00000002                                 
      FileSys RAM Percent : 0x00000020                                 
      Driver Glob Start   : 0x00000000                                 
      Driver Glob Length  : 0x00000000                                 
      CPU                 :     0x01c2                                 
      MiscFlags           :     0x0002                                 
      Extensions          : 0x84002020                                 
      Tracking Mem Start  : 0x00000000                                 
      Tracking Mem Length : 0x00000000                                 
    NK Image Loaded            
    Launch Windows CE image by jumping to 0x80001000...                                                  
    Windows CE Kernel for ARM (Thumb Enabled) Built on Apr  5 2011 at 17:47:22                                                                         
    +OEMInit       
    ýSETDATAOUT access is OK....                           
    Forcing clean boot                 
    MainMemoryEndAddress = 0x90800000                                
    -OEMInit       
    +FMD_Init        
    Dumping registry defined VK                          
    Row 0:  0x18    0x9     0x25    0x0     0x0     0x0                                                  
    Row 1:  0x26    0xd     0x28    0x0     0x0     0x0                                                  
    Row 2:  0x27    0x24    0x23    0x0     0x0     0x0                                                  
    Row 3:  0x0     0x0     0x0     0x0     0x0     0x0                                                  
    Row 4:  0x0     0x0     0x0     0x0     0x0                                             
    Row 5:  0x0     0x0     0x0     0x0     0x0     0x0                                                  
    SMSC922x: Core Ethernet Init.                            
    Lan9220 identified. ID_REV = 0x92200000                                      
    SMSC922x: MAC address = 00:01:c0:0a:a0:db                                        
    Lan9220 identified. ID_REV = 0x92200000                                      
    SMSC922x: MAC address = 00:01:c0:09:88:80                                        
    SDIO8686: Loading Driver [version = 38.p44]                                          
    SDIO8686: Reset with TPS GPIO 2 --> done                                       
    !!!Kernel mode PSL 'PRdr' de-registered!!!                                         
    !!!Kernel mode PSL 'HRdr' de-registered!!!                                         
    !!!Kernel mode PSL 'FRdr' de-registered!!!                                         
    EHCI USB Host: HcdPdd_Init+                          
    [OTG] OMAPMHSUSBOTG::Init()+                           
    OMAPMHSUSBOTG::PostInit(): Start.                                
    DSPLINK Module (1.61.04) created on Date: Jun 24 2009 Time: 16:30:52                                                                   
    Display parameters:                  
            Height = 0x280                     
            Width = 0x1e0
            HSW = 0x20
            HFP = 0x8
            HBP = 0x17
            VSW = 0x1
            VFP = 0x4
            VBP = 0x3
            DVI is not enabled
            PixelClkDiv = 0x7
            LogClkDiv = 0x1
            ClkSelDSS = 0x5
    TD035:: LCDTurnOn
    TD035STEE1: Turned display on.
    TD035:: Finished LCD VGA init
    AUTOLAUNCH: Checking HKEY_LOCAL_MACHINE\Startup key for programs to run.
    Can't open HKEY_LOCAL_MACHINE\Startup key.
    [WiFi]: Firmware Version: 9.70.3.23
    CCaptureFramework: Failed setting up the camera data.
    CameraDShowApp: Initializing the camera driver list failed.CameraDShowApp: Retri
    eving the driver list failed.CameraDShowApp: Selecting the camera device failed.
    CameraDShowApp: Selecting the camera device failed.CameraDShowApp: Selecting the
     camera device failed.CameraDShowApp: Selecting the camera device failed.CCaptur
    eFramework: Retrieving the still stream config failed.
    CameraDShowApp: Initializing the capture graph failed.

  • How to Get Source Code of Standard ESS Component.

    Hi,
    I need to implement SAP Note 904107, in ESS ( Personal Info.) package.  However no tracks are maintained in NWDI for ESS.
    Please suggest me from where I can get Source Code for Standard SAP Web Dynpro component VcPerFamilyBEReview .
    I read in some blogs and its suggested to create Track in NWDI using ESS package which is deployed on server.  Please provide detail procedure, doc. and links for this.
    If any other approach is there to get sorce code please suggest.

    Hi,
    VcPerFamilyBEReview component is found in the DC sap.com/essbefam
    check these links to create track in NWDI
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e0b2b146-5776-2910-4a8f-9b3190eab060]
    [https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7014086d-3fd9-2910-80bd-be3417810c6f]
    [https://www.sdn.sap.com/irj/sdn/wiki?path=/display/java/netweaver%2bdevelopment%2binfrastructure%2b(NWDI)]
    Regards,
    vv

  • How to get source code and build files for Eudora 7, and price?

    Looking for source code and build/make files for Eudora 7 to port to Win7 and Ubuntu 14. Where is a source for this and what is the cost?

    You best ask qualcomm. It is their intellectual property.
    Eudora OSE was based on Thunderbird and the source code for the Penelope add-on is open source (that is what made Thunderbird over to OSE)

  • How obtain complete source code for applet demos?

    I would like to obtain the source code for all the class files for the applet demos, especially the molecule viewer. Some of the class files do not have corresponding java files made available. Who can help me out?

    Which class files are missing?
    If you go to this site, select the applet of interest, the link at the bottom of the page (that is, the page with the running applet in it) takes you to the source. The file at that link includes all of the classes in the applet.
    http://java.sun.com/j2se/1.4.2/docs/relnotes/demos.html
    -John

  • How to get creator codes for search?

    How do you figure out/use the creator codes for seaching a file? In the good old OS days (i.e Mac OS) you dragged a file of the kind you were looking for into the search box after selecting "Creator is __". It doesn't work with OS X.
    I'm trying to find a Word document that I know was created in a 3 month window. Using Search for those dates and file type "document" has so far turned up over 8000 files, won't stop, and looks like it's returning almost exclusively files with long numbers ending in .cache, for example 123456789-0123456789.cache
    ARgh!

    Marlinespike
    Sorry, I didn't realise that Find wouldn't get extensions that weren't visible!
    How did you find "MSWD" was the code?I don't remember, I've known this for years! There are shareware databases available with lists of hundreds of codes. There are also shareware applications that will tell you the creator code and file type – but if you have the Developer Tools installed, you have a free application to do this, but it must be invoked from the command line:
    GetFileInfo BS030218.doc
    file: "/Users/michaelc/Documents/Correspondence/BS030218.doc"
    type: "W8BN"
    creator: "MSWD"
    attributes: avbstclinmedz
    created: 02/18/2003 19:27:31
    modified: 02/18/2003 19:27:31The full path to the application is /Developer/Tools/GetFileInfo, but you shouldn't need to type all that since installing the tools modifies your $PATH to include "/Developer/Tools/". So all you need do is type GetFileInfo, then a space, and then drag your file into the Terminal window and press return.

  • How to get Transaction code for SAP standard report painter in FI

    Hi All -
       Please let me know, How to get the transaction code for Standard SAP report painter / report writer in FI module.
    These report painters are created thru GR51...
    Thanks,
    Kannan

    Please refer to [Creating Transaction Code For Report Painter Reports|http://www.google.com/url?sa=t&source=web&ct=res&cd=1&ved=0CAgQFjAA&url=http%3A%2F%2Fdap-consulting.com%2Fyahoo_site_admin%2Fassets%2Fdocs%2FReport_Painter_Reports.47142031.pdf&ei=MiWYS5ilCYeOlAfn4pCGDQ&usg=AFQjCNEZ0YO6vJ97K24MbU_NI5ROTb5vJA&sig2=Ke-svnqddqrz8RMcTuEnaw].

  • How to get source code in the video examples

    I'm wondering how to get the source code, which used in the
    video training. Thank you very much.

    I don't believe that the source code is available.... however
    you can do what I am going to do. On my 2nd round of going through
    this stuff I am going to try to re-create that system in the
    videos. So far it seems each step and every line of code is
    shown... though there may be some things I have to get creative
    with. :)
    Someone else posted a link to get a csv of the employees
    info, which can be used to create an xml file for the tutorials.

  • How to get Source code of a Schedular Java concurrent program in Payments

    Hi Experts,
    I am very new to Java Concurrent program.
    I need java source code of a schedule java concurrent program.Following are the details of Executable.
    Executable :Format Payment Instructions
    Short Name :IBY_FD_PAYMENT_FORMAT
    Application : Payments
    Execution Method :Java Concurrent Program
    Execution File Name:FDExtractAndFormatting
    Execution File Path : oracle.apps.iby.scheduler
    I searched in execution file path,but i am unable to find required java source.
    Please someone help regarding this issue..
    It's Urgent Issue.
    Regards
    Amar

    Hi Srini,
    Thanks for reply...
    In the attached template of concurrent program "Format Payment Instructions", i need to add voucher number in the template.
    How can i do this?how to decompile the executable?
    It is a check printing.
    Please give me suggestions..
    Regards
    Amar

  • How to get Source Code out of SCA File

    I have a SCA file comprising SAP Ecommerce 5 solution. What I want to achieve is to get all the source code out of it including the original directory structure. Unzipping it doesn't give me the required results and requires a lot of manual work creating directories and more unzipping.
    I tried importing it into a Local SC in NWDS but it complains that " Import (into source SC) not possible: SCA doesn't contain DC sources".
    I don't have access to NWDI at this point.

    Hi,
    For getting the source code of the Business Package Content, follow the steps below:
    1. Make sure Source Archive is available for the Business Package.
    2. Create a NWDI Track, and include all dependencies (check SAP Note : 1080927 - Creating CMS Tracks for common Application Types )
    3. Once you have track in place, you can import the Track into NWDS
    4. In Development Configurations perspective of the NWDS you can see the track.
    5. Now create Project from Inactive Workspace to start modifying the code.
    Check the link for general links
    http://wiki.sdn.sap.com/wiki/display/JDI/NWDIRelatedNotesandLinks
    Hope this helps.
    Cheers-
    Pramod

  • How to access source code for checked in .sca files in the dev environment

    Hello,
    I am trying to do some CRM E-commerce development. The basis personnel has checked in all the relevant SCA archives listed in the setup documentation.  He has since given me the Servername and port for accessing the NWDI that I can set in the Development Environment. I can log on to the system and see the repository browser with all the branches.
    For example:
       CustomerConfig -> CRMEXT -> sap.com_SAP-CRMWEB -> dev -> active
    CustomerConfig -> CRMEXT -> sap.com_SAP-CRMWEB -> dev -> inactive
    How ever there is no code there to sync. Is there something missing in our setup for the NWDI so I can sync the CRM E commerce projects to the local system and modify them.
    Is there anything we have to do either in NWDI or in the IDE to see the source code to extend it.
    Thank You for your help in this matter.
    Sumit.

    Hey Pascal, Thanks for the help. We did a batch check in and the code did not go through. After we tried the check-in in the non-batch  mode it worked.

  • How to get source code from portal app

    Hi,
    I have a successful Web dynpro portal application running, which I would like to modify. We lost the source code. Is there any way that I can get the source code from the portal?.
    Thanks and I appreciate your help.
    /Sunita.

    Hi,
    You can extract class files from app.jar and decompile it(.ear->.wda) but it is only generated classes without metadata. Metadata is stored in .wda file but format is not compatible with studio. That all options you have.
    Go through the following links, it will be helpfull to you
    Some of the solutions provided in it
    [Re: Retrieve the source code from .EAR;
    [Restore source code from ear file;
    Regards
    Raghu

  • How to get source code of ADF demo page.

    I have used oracle ADF demo site for demo work related to graphs.
    I want to download the source code of this demo. I mean jspx file, backing bean and style classes.
    Is there any way I can download this source code?I believe there is no sense to use it without downloading it's code.
    I want to download "Area graph Animation" from below link:
    http://jdevadf.oracle.com/adf-richclient-demo/faces/feature/graph/animation.jspx?_afrRedirect=2611981845492287
    Please help!
    Thanks,
    Jaykishan

    This does NOT have .JWS file as
    The demo WAR is a JDeveloper Project packaged into a WAR file.
    So creating a dummy application or open an existing application.
    Select 'File' ----> 'New' --> 'Projects' and select Project from WAR.
    Thanks,
    Navaneeth

  • TS1646 How want get Zip code for malaysia

    How want get Zip code

    I got a HP phone from my brother in US and the phone was sent to me. But when i turned on the phone it was lock.
    But I had that the HP veer can help you purchase the phone when it is locked.

  • How to get source programe for smartform

    hi
    i want to know source programe for smartform.
    thanks .

    hi,
    1. Go to the smartforms transaction.
    2. Chose from menu Environment->Function Module.
    3. Note the name of the fm.
    4. Go to se37.
    5. Place the cursor on the Fm name and do a where-used-list.
    6. You will find the programs which use that fm.
    or you can find it in NACE transaction
    or in the table tnapr.
    Rgds
    Reshma

Maybe you are looking for