Why do I get extra characters in unix terminal scripts?

I occasionally use the unix "script" function to save terminal sessions to a text file. I've noticed that if I save man pages, I get repeated characters throughout the text file. Here is an example:
Joes-MacBook-Pro:~ joe$ script ~/Desktop/ls_manpage.txt
Script started, output file is /Users/joe/Desktop/ls_manpage.txt
Joes-MacBook-Pro:~ joe$ man ls | cat
LS(1) BSD General Commands Manual LS(1)
NAME
ls -- list directory contents
SYNOPSIS
ls [-ABCFGHLPRTWZabcdefghiklmnopqrstuwx1] [file ...]
DESCRIPTION
For each operand that names a file of a type other than directory, ls
[etc.]
When I open the text file in Textwranger, it looks like this:
Script started on Fri Nov 9 11:05:02 2007
Joes-MacBook-Pro:~ joe$ ls  man ls | cat
LS(1) BSD General Commands Manual LS(1)
NNAAMMEE
llss -- list directory contents
SSYYNNOOPPSSIISS
llss [--AABBCCFFGGHHLLPPRRTTWWZZaabbccddeeffgghhiikkllmmnnooppqqrrssttuuwwxx11] [f_i_le ._..]
DDEESSCCRRIIPPTTIIOONN
[etc.]
Can anyone explain where the extra characters are coming from?

Interesting. I tried to duplicate your results and I find that script doesn't work at all for me under 10.4.10. I just get an empty file, except for the last line that tells me "Script done on (date)".
If you look at your script output using od -c you'll find that there are even more extra characters.
NNAAMMEE
... has back spaces embedded ...
N^HNA^HAM^HME^HE
... because this how ancient printers did bold face and underlining.

Similar Messages

  • I get extra characters with punctuation in my downloads

    I get extra characters at the end of my sentences with my eBook downloads.  How do I get rid of them.

    Hi "g_g_m_mayers"
    I’m sorry but, that’s not an issue…It’s about normal…
    Here for example, is PRS-T2 menu, with all reading books “appearance” selections.  PRS-T2 (Esupport.Sony US)
    About page size:
    If you select from the menu as “font size” the second icon from left, you’ll have the original page layout of the ebook.
    About fonts:
    With fonts all depends on ebook's file.
    If file includes one or more set of fonts, and you select on reader device Font Type “Original”, you’ll have the original fonts on reader and they will be also the same on PC.
    For example:
    If fonts in ebook were, Greek or Cyrillic or calligraphic or special characters, they will be also on reader device Greek or Cyrillic or calligraphic or special and they will be the same even on PC.
    In this case we have the same fonts on PC, on Reader device and on original book.
    But what happens if the ebook’s file does not include set of fonts?
    Reader device will try to type ebook with the built-in characters (Amasis, Frutiger Neue, Helevetica ,Palatino, etc..) and probably they won’t be the same as the original. Reader device, also, doesn’t include special or other language characters and so, probably, you’ll see “strange” characters like “?” “%”, etc.
    On PC now, most of these “special characters” are built-in, so most of times there’s no problem.
    But quite always, PC's ebook viewer software selects different fonts and so we could have:
    Original Book with one type of font, PC ebook with a second type of fonts, Reader device with a third type of fonts.

  • Technical issue SAP F110 related issue. getting extra characters in outgoing file from sap.

    Hi Technical guru's,
    SAP system creating a outgoing file through F110- t-code, this outgoing file has extra characters (DOC.NO:)
    We need to remove these extra characters. Once Payment run has been carried out through F110, in SM37 in job spool it is showing like screen attached with name “file from sm37”.
    But when we look in to outgoing file directory extra characters as I mentioned above is appearing below is the related screen attached with name “out gooing file”.
    Gurus can anyone please suggest me where I can check about this. I have checked the program available in the job as well in the F110 transaction.But could not find any hint.
    Programs which I find in SM37.
    SAPF110S
    SAPFPAYM_SCHEDULE
    RFFOSE_B
    Programs which are available in F110.
    RFFOAVIS
    RFFOEDI1
    RFFOSE_B
    Does extra  characters coming through functional configuration (DME configuration) or coming through SAP standard programs.
    I am Technical person. I need to solve this issue guys please help me in this.
    If above information is not sufficient  let me know what are the other information should I provide.

    I didn't get any resolution so far also I can't convert into Adobe form because this is a production issue which should be fix by making the requied setting or changes in SAP script itself we can't go for new developmet for this isuue.

  • Why am i getting extra rows in pivot/rollup?

    For this weekly PRoduct List Report by Period, rolled up to district, and company.
    1) Why am I getting an extra rollup record ( like 4th record)? Otherwise Totals are correct.
    2) When period only contains 4 weeks, There should only be 4 weeks, not 5, HOw can I prevent the Week 5 columns.
    Note, Districtname, and regionname are only included to help me visualize complex decode statements.
    WITH dummydata AS
      SELECT       '0177'  AS storenbr, 2 AS period, 1 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 16  AS sold, 100 AS total from dual UNION ALL
      SELECT       '0177'  AS storenbr, 2 AS period, 1 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 87  AS sold, 100 AS total from dual UNION ALL
      SELECT       '0177'  AS storenbr, 2 AS period, 2 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 26  AS sold, 100 AS total from dual UNION ALL
      SELECT       '0177'  AS storenbr, 2 AS period, 2 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 97  AS sold, 100 AS total from dual UNION ALL
      SELECT       '0277'  AS storenbr, 2 AS period, 1 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 16  AS sold, 100 AS total from dual UNION ALL
      SELECT       '0277'  AS storenbr, 2 AS period, 1 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 87  AS sold, 100 AS total from dual UNION ALL
      SELECT       '0277'  AS storenbr, 2 AS period, 2 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 26  AS sold, 100 AS total from dual UNION ALL
      SELECT       '0277'  AS storenbr, 2 AS period, 2 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 97  AS sold, 100 AS total from dual UNION ALL
      SELECT       '6504'  AS storenbr, 2 AS period, 1 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 18  AS sold, 100 AS total from dual UNION ALL
      SELECT       '6504'  AS storenbr, 2 AS period, 1 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 89  AS sold, 100 AS total from dual UNION ALL
      SELECT       '6504'  AS storenbr, 2 AS period, 2 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 28  AS sold, 100 AS total from dual UNION ALL
      SELECT       '6504'  AS storenbr, 2 AS period, 2 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 99  AS sold, 100 AS total from dual
    , store_details as
      SELECT    '0177'  AS storenbr, 'Bingham' as districtname,  'R-15 James'    as regionname, 'C-Atlantic'  as companyname    from dual   UNION ALL
      SELECT    '0277'  AS storenbr, 'Dunley'  as districtname,  'R-15 James'    as regionname, 'C-Atlantic'  as companyname    from dual   UNION ALL
      SELECT    '6504'  AS storenbr, 'Murdoc'  as districtname,  'R-16 Reynolds' as regionname, 'C-Soutn'     as companyname    from dual  
    , pivoted as
      select     storenbr
      ,          plu
      ,          max(descrip)                                    as  Descrip
      ,          max(decode(dd.weeknbr,  1,  sold    , 0))       as  Week1Sold
      ,          max(decode(dd.weeknbr,  1,  total   , 0))       as  Week1total
      ,          max(decode(dd.weeknbr,  2,  sold    , 0))       as  Week2Sold
      ,          max(decode(dd.weeknbr,  2,  total   , 0))       as  Week2total
      ,          max(decode(dd.weeknbr,  3,  sold    , 0))       as  Week3Sold
      ,          max(decode(dd.weeknbr,  3,  total   , 0))       as  Week3total
      ,          max(decode(dd.weeknbr,  4,  sold    , 0))       as  Week4Sold
      ,          max(decode(dd.weeknbr,  4,  total   , 0))       as  Week4total
      ,          max(decode(dd.weeknbr,  5,  sold    , 0))       as  Week5Sold
      ,          max(decode(dd.weeknbr,  5,  total   , 0))       as  Week5total
      from      dummydata dd
      group by  storenbr, plu
      order by  storenbr, plu
    select       decode(grouping(companyname),       0,  companyname,     'GRAND') as companyname
    ,            decode(grouping(regionname),        0,  regionname,       decode(grouping(companyname),  0, companyname,      'GRAND')) as regionname
    ,            decode(grouping(districtname),      0,  districtname,     decode(grouping(regionname),   0, regionname,        decode(grouping(companyname), 0, companyname,   'GRAND'))) as districtname
      ,          decode(grouping(stores.storenbr),   0,  stores.storenbr,  decode(grouping(districtname), 0, districtname,      decode(grouping(regionname),  0, regionname,     decode(grouping(companyname), 0, companyname,      'GRAND'))))        as storenbr
      ,          decode(grouping(plu),               0,  plu,              decode(grouping(districtname), 0,   'DISTRICT-PLU',   decode(grouping(regionname),   0,   'REGION-PLU',      decode(grouping(companyname),       0,  'COMPANY',     'GRAND'))))      as plu
    ,            decode(grouping(plu),               0,  max(descrip),     'TOTALS')                                                                   as description
      ,          sum(Week1Sold)                                 as  Week1Sold
      ,          sum(Week1total)                                as  Week1total
      ,          sum(Week2Sold)                                 as  Week2Sold
      ,          sum(Week2total)                                as  Week2total
      ,          sum(Week3Sold)                                 as  Week3Sold
      ,          sum(Week3total)                                as  Week3total
      ,          sum(Week4Sold)                                 as  Week4Sold
      ,          sum(Week4total)                                as  Week4total
      ,          sum(Week5Sold)                                 as  Week5Sold
      ,          sum(Week5total)                                as  Week5total
    from pivoted pvt
    inner  join  store_details   stores on  pvt.storenbr = stores.storenbr
    group by    rollup   (companyname, regionname, districtname,   stores.storenbr,  PLU  )
    COMPANYNAME REGIONNAME    DISTRICTNAME  STORENBR      PLU          DESCRIPTION WEEK1SOLD              WEEK1TOTAL             WEEK2SOLD              WEEK2TOTAL             WEEK3SOLD              WEEK3TOTAL             WEEK4SOLD              WEEK4TOTAL             WEEK5SOLD              WEEK5TOTAL            
    C-Soutn     R-16 Reynolds Murdoc        6504          40           tomato      18                     100                    28                     100                    0                      0                      0                      0                      0                      0                     
    C-Soutn     R-16 Reynolds Murdoc        6504          50           bacon       89                     100                    99                     100                    0                      0                      0                      0                      0                      0                     
    C-Soutn     R-16 Reynolds Murdoc        6504          DISTRICT-PLU TOTALS      107                    200                    127                    200                    0                      0                      0                      0                      0                      0                     
    C-Soutn     R-16 Reynolds Murdoc        Murdoc        DISTRICT-PLU TOTALS      107                    200                    127                    200                    0                      0                      0                      0                      0                      0                     
    C-Soutn     R-16 Reynolds R-16 Reynolds R-16 Reynolds REGION-PLU   TOTALS      107                    200                    127                    200                    0                      0                      0                      0                      0                      0                     
    C-Soutn     C-Soutn       C-Soutn       C-Soutn       COMPANY      TOTALS      107                    200                    127                    200                    0                      0                      0                      0                      0                      0                     
    C-Atlantic  R-15 James    Dunley        0277          40           tomato      16                     100                    26                     100                    0                      0                      0                      0                      0                      0                     
    C-Atlantic  R-15 James    Dunley        0277          50           bacon       87                     100                    97                     100                    0                      0                      0                      0                      0                      0                     
    C-Atlantic  R-15 James    Dunley        0277          DISTRICT-PLU TOTALS      103                    200                    123                    200                    0                      0                      0                      0                      0                      0                     
    C-Atlantic  R-15 James    Dunley        Dunley        DISTRICT-PLU TOTALS      103                    200                    123                    200                    0                      0                      0                      0                      0                      0                     
    C-Atlantic  R-15 James    Bingham       0177          40           tomato      16                     100                    26                     100                    0                      0                      0                      0                      0                      0                     
    C-Atlantic  R-15 James    Bingham       0177          50           bacon       87                     100                    97                     100                    0                      0                      0                      0                      0                      0                     
    C-Atlantic  R-15 James    Bingham       0177          DISTRICT-PLU TOTALS      103                    200                    123                    200                    0                      0                      0                      0                      0                      0                     
    C-Atlantic  R-15 James    Bingham       Bingham       DISTRICT-PLU TOTALS      103                    200                    123                    200                    0                      0                      0                      0                      0                      0                     
    C-Atlantic  R-15 James    R-15 James    R-15 James    REGION-PLU   TOTALS      206                    400                    246                    400                    0                      0                      0                      0                      0                      0                     
    C-Atlantic  C-Atlantic    C-Atlantic    C-Atlantic    COMPANY      TOTALS      206                    400                    246                    400                    0                      0                      0                      0                      0                      0                     
    GRAND       GRAND         GRAND         GRAND         GRAND        TOTALS      313                    600                    373                    600                    0                      0                      0                      0                      0                      0                      ;

    Gotcha. What about the variable number of columns based on the number of weeks in a period?
    When I removed and renamed some columns, I saw that the PLU is at the bottom of the rollup, not the storenbr.
    = The PLU's rollup to the storebnr, and then storenbr to district. Thanks.
    Someone might learn a cool technique by looking at new code. See note below.
    WITH dummydata AS
      SELECT       'Store1'  AS storenbr, 2 AS period, 1 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 16  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store1'  AS storenbr, 2 AS period, 1 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 87  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store1'  AS storenbr, 2 AS period, 2 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 26  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store1'  AS storenbr, 2 AS period, 2 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 97  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store2'  AS storenbr, 2 AS period, 1 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 16  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store2'  AS storenbr, 2 AS period, 1 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 87  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store2'  AS storenbr, 2 AS period, 2 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 26  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store2'  AS storenbr, 2 AS period, 2 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 97  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store3'  AS storenbr, 2 AS period, 1 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 18  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store3'  AS storenbr, 2 AS period, 1 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 89  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store3'  AS storenbr, 2 AS period, 2 AS weeknbr,   '40' AS PLU, 'tomato'  as descrip, 28  AS used, 100 AS wasted from dual UNION ALL
      SELECT       'Store3'  AS storenbr, 2 AS period, 2 AS weeknbr,   '50' AS PLU, 'bacon'   as descrip, 99  AS used, 100 AS wasted from dual
    , store_details as
      SELECT    'Store3'  AS storenbr, 'D-Bingham' as districtname,  'R-15 James'    as regionname, 'C-Atlantic'  as companyname    from dual   UNION ALL
      SELECT    'Store2'  AS storenbr, 'D-Dunley'  as districtname,  'R-15 James'    as regionname, 'C-Atlantic'  as companyname    from dual   UNION ALL
      SELECT    'Store1'  AS storenbr, 'D-Murdoc'  as districtname,  'R-16 Reynolds' as regionname, 'C-Soutn'     as companyname    from dual  
    , pivoted as
      select     storenbr
      ,          plu
      ,          max(descrip)                                     as  Descrip
      ,          max(decode(dd.weeknbr,  1,  used    , 0))        as  Week1used
      ,          max(decode(dd.weeknbr,  1,  wasted   , 0))       as  Week1wasted
      ,          max(decode(dd.weeknbr,  2,  used    , 0))        as  Week2used
      ,          max(decode(dd.weeknbr,  2,  wasted   , 0))       as  Week2wasted
      ,          max(decode(dd.weeknbr,  3,  used    , 0))        as  Week3used
      ,          max(decode(dd.weeknbr,  3,  wasted   , 0))       as  Week3wasted
      ,          max(decode(dd.weeknbr,  4,  used    , 0))        as  Week4used
      ,          max(decode(dd.weeknbr,  4,  wasted   , 0))       as  Week4wasted
      ,          max(decode(dd.weeknbr,  5,  used    , 0))        as  Week5used
      ,          max(decode(dd.weeknbr,  5,  wasted   , 0))       as  Week5wasted
      from      dummydata dd
      group by  storenbr, plu
      order by  storenbr, plu
    select       decode(grouping(stores.storenbr),  0,  stores.storenbr,     decode(grouping(districtname), 0, districtname,  decode(grouping(regionname),  0, regionname,  decode(grouping(companyname), 0, companyname,  'GRAND'))))   as storenbr
      ,          decode(grouping(descrip), 0, descrip, 'TOTAL')   as descrip
      --==       I substited Description for clarity
      ,          sum(Week1used)                                                   as  Week1used
      ,          sum(Week1wasted)                                                 as  Week1wasted
      ,          sum(Week2used)                                                   as  Week2used
      ,          sum(Week2wasted)                                                 as  Week2wasted
      ,          sum(Week3used)                                                   as  Week3used
      ,          sum(Week3wasted)                                                 as  Week3wasted
      ,          sum(Week4used)                                                   as  Week4used
      ,          sum(Week4wasted)                                                 as  Week4wasted
      ,          sum(Week5used)                                                   as  Week5used
      ,          sum(Week5wasted)                                                 as  Week5wasted
      ,          companyname
    from pivoted pvt
    inner  join  store_details   stores on  pvt.storenbr = stores.storenbr
    group by     companyname
              ,  rollup  (   regionname
                           , districtname
                           , stores.storenbr  
                           , descrip
           ;New output:
    STORENBR      DESCRIP WEEK1USED              WEEK1WASTED            WEEK2USED              WEEK2WASTED            WEEK3USED              WEEK3WASTED            WEEK4USED              WEEK4WASTED            WEEK5USED              WEEK5WASTED            COMPANYNAME
    Store1        bacon   87                     100                    97                     100                    0                      0                      0                      0                      0                      0                      C-Soutn    
    Store1        tomato  16                     100                    26                     100                    0                      0                      0                      0                      0                      0                      C-Soutn    
    Store1        TOTAL   103                    200                    123                    200                    0                      0                      0                      0                      0                      0                      C-Soutn    
    D-Murdoc      TOTAL   103                    200                    123                    200                    0                      0                      0                      0                      0                      0                      C-Soutn    
    R-16 Reynolds TOTAL   103                    200                    123                    200                    0                      0                      0                      0                      0                      0                      C-Soutn    
    C-Soutn       TOTAL   103                    200                    123                    200                    0                      0                      0                      0                      0                      0                      C-Soutn    
    Store2        bacon   87                     100                    97                     100                    0                      0                      0                      0                      0                      0                      C-Atlantic 
    Store2        tomato  16                     100                    26                     100                    0                      0                      0                      0                      0                      0                      C-Atlantic 
    Store2        TOTAL   103                    200                    123                    200                    0                      0                      0                      0                      0                      0                      C-Atlantic 
    D-Dunley      TOTAL   103                    200                    123                    200                    0                      0                      0                      0                      0                      0                      C-Atlantic 
    Store3        bacon   89                     100                    99                     100                    0                      0                      0                      0                      0                      0                      C-Atlantic 
    Store3        tomato  18                     100                    28                     100                    0                      0                      0                      0                      0                      0                      C-Atlantic 
    Store3        TOTAL   107                    200                    127                    200                    0                      0                      0                      0                      0                      0                      C-Atlantic 
    D-Bingham     TOTAL   107                    200                    127                    200                    0                      0                      0                      0                      0                      0                      C-Atlantic 
    R-15 James    TOTAL   210                    400                    250                    400                    0                      0                      0                      0                      0                      0                      C-Atlantic 
    C-Atlantic    TOTAL   210                    400                    250                    400                    0                      0                      0                      0                      0                      0                      C-Atlantic  the trick I used here to avoid individual rollup columns that become null on the rollup.
    I used the GROUPING Function and DECODE statement to let my storenbr column reflect the rollup level. The DECODE tells the query to use the value in the column in the level up
    instead of outputing NULL. The GROUPING function tells the query when the rollup occurs. See the storenbr column is never blank.
    There is no rollup on companyname, so no need to place in rollup clause.
    Feel free to offer better worded explanation.

  • Why do I get some characters twice?

    I have two GPIB devices connected to my computer. When I want to communicate with them using LV, I get a good response from the first one (Agilent 4278A Capacitance Meter), but not from the second one ("Hewlett Packard EPM-441A" Power Meter). Here is the detail. I send a "*IDN?" command. First one responds by sending its ID String, "HEWLETTPACKARD,4278A,0000A00000,REV3.31". When it comes to the second one, it responds as "HEEWLLLEETTTT--PPAACCKKAARRDD,,443377BB,,,,22..00​".
    As you noticed, most of the characters are received twice. As I repeat the readings, the pattern changes a little bit, but again most of them are received twice.
    So, my question is, do you have an idea why it happens? Is there a way to change/set communicati
    on speed for LV's GPIB Read/Write objects?
    I will appreciate your comments and helps. Thanks.
    FYI, the VI is attached.
    Attachments:
    as1.vi ‏20 KB

    Ahhh, very interesting. It sounds like you have two 488.2 drivers installed (except for the fact that both instruments don't respond with double characters even though they are connect to the same board, which is very strange)
    I'd test if it happens when you use VISA and if NI-Spy shows the duplicate characters.
    In any case, it's likely that something is indeed wrong with your installation. I'd bet that you have LabVIEW 6.0.2 or earlier, did a "complete" installation of LabVIEW, then later installed NI-488.2 separately.
    Reinstallation Instructions:
    *Remove All NI software through start -> settings -> control panel -> add/remove programs
    *Open Windows Explorer and go to c:\program files, if there is a National instruments folder delete it and all of it's c
    ontents
    *Shut down the computer and remove the cards
    *Install LabVIEW, do a custom install and cross out the NI-DAQ, VISA, and 488.2 drivers so they won't be installed
    *Install 488.2 software
    *Shut down and put in the GPIB card
    All drivers can be found here
    Regards,
    Ray K

  • Exported PNG files getting extra characters in name and linked files losing link

    UGH!.. Hope that made sense.
    Okay...I work on a couple hundred graphics for software at a time, usually creating each piece in a layer with the correct naming convention as the layer name.  Then I use the "Save Layers and PNG. Artboard" script for batch export them into the ONG files...all named properly.  This was a Blessing from heaven.
    However, about three months ago, Illustrator starting adding a "dash" mark in place of a space between words.  I can't link this to an update or other change, wish I could.  This is causing a huge problem..as the software these graphics are for REQUIRES the names be perfect...including the spaces (Can't be underscores, nada).  I'm having to go through an manually rename over half the files just to remove this dash mark.
    There is nothing in the original script for this. 
    I have gone through all the settings.  I have adjusted the Output Settings / Saving Files to eliminate every instance AI is asked to add anything but a space.   Although I'm not sure if these Output settings are used when the script runs.  Don't know if it's the script, some other setting buried somewhere.
    Any other thoughts or solutions?  Are there other scripts that do the same job that I might try to see if I get better results?  I attached a link to a download of my current script
    https://dl.dropboxusercontent.com/u/23703370/SaveLayersAsPNGArtboard.jsx
    Second issue isn't script based, but I'll ask anyway.  Regularly, when I open an AI file that has PNGs, JPG, and other graphics in the file, the "links" have been lost and require me to manually re-link each one, or delete the now empty file object and add it back in.  This includes embedded objects.
    The AI file, nor the graphics have been edited, changed, renamed, or any of the files or folders moved.  Nothing that would cause this that I can think of.  ANyone have a thought why this is happening and how I can prevent it?
    OH YEAH...CS5.5   Windows 7       ThankS  !!!

    Also, out of curiousity, you have a Div named header, also a separate header section containing just the logo in it. Any specific reason?
    And is the image on the site supposed to look like this?
    And, a couple of typos such as this one:
    Funding your Eeducation

  • Why am I getting gibberish characters in my RTF and 03 DOC Exports...

    Example:
    ’Š  †…ƒ‘                 …ƒ ǎnjǒ ǒǍǓƕǒǓnjǍ                                                  ǑǓƓnjǔ                              Ǒ ǎnjǕ ǏǔǒƕǎǓǍǍ                                                         ǍnjǕƓǓnj                              Ǔ ǎǍnj ǎǐnjƕǒnjǑǔ                                                       ǎǒnjƓǓǓ                              Ǖ ǎǍǐ ǕnjǔƕnjǒǒǍ                                                  ǏǑnjƓǕǒ                            ǍǍ ǏǍǐ ǏǕǎƕǏǕǐǐ                                                      ǕǕƓǏǕ ǍǏ ǏǍǐ ǏǕǏƕǍnjǏǒ                                                       ǒǔƓǍǐ                            ǍǑ ǏǍǐ ǏǕǏƕǒǓǍǒ                                                   ǐǐƓǐǏ                            ǍǓ ǏǍǐ ǐǓǍƕǎǔǑǏ                                                  ǓǏƓǓǏ                            ǍǕ ǏǍǐ ǒǕǔƕǍǎǍǐ                                                     ǐnjƓǔǐ
    Is this related to the fonts used in PDF? The fonts are embedded subsets... they appear as regular alphabetical characters in PDF, but conversion results in the characters above - what gives?
    Thanks in advance...

    Hi sgolant,
    Does your PDF contain renderable (selectable) text now?  If so, try copying some text and pasting it into Notepad (Win) or TextEdit (Mac). 
    Did you convert to .docx too?  Were the results different there?
    -David

  • " � Kit contains a" Why do I get odd characters on web pages?

    I've noticed that different web pages display non-alpha characters. The above example was on Amanzon; other pages on discovery channel pages.

    Make sure that you have selected the correct encoding (possibly Unicode (UTF-8)) for those pages.
    *Firefox > Web Developer > Character Encoding
    *View > Character Encoding
    Can you attach a screenshot?
    *http://en.wikipedia.org/wiki/Screenshot
    *https://support.mozilla.org/kb/how-do-i-create-screenshot-my-problem
    Use a compressed image type like PNG or JPG to save the screenshot.

  • Why do I get a continued msg that a script is not completing. It seems to be slowing my Mac: "Script: chrome://forecastfox/content/observers.js:1

    A pop-up window keeps appearing with the message that a script is not completing correctly - " "Script: chrome://forecastfox/content/observers.js:1" I'm given the choice to a) let it continue in the hopes it will complete or b) cancel. No matter which choice I make, the little window persists up in the corner of my screen and then sometimes brings itself to the front again, so I get to make the choice all over again. Most annoying also because I can't close the little pop-up...it hides itself in the top left and appears as a small blank there. I have the distinct impression that it's making my Mac run slower... and I would love to get rid of it. It's not related to Firefox 5...it was there before with the previous version, too...and is one of the reasons I upgraded. I don't want Chrome, by the way...so it's also annoying to see its name in the offending script-name. I took a screen shot but can't figure out how to attach it to this description. It happens every time I open Firefox...not immediately but after a while.

    Disable or uninstall the ForecastFox extension.
    https://support.mozilla.com/en-US/kb/Uninstalling%20add-ons#w_how-to-uninstall-extensions-and-themes

  • Passing Null Characters from Unix Shell Script to Java Program

    Hi Experts,
    Facing an issue with a shell script....
    The shell script has 10 input parameters....
    1st Parameter is a compiled Java program name(This can keep changing)
    Rest 9 are the parameters of the Java Program...
    The following piece of code is working when Test "a z" "b t" "" "" "" "" "" "" "" "" is hardcoded.
    lv_java_string=`java Test "a z" "b t" "" "" "" "" "" "" "" ""`
    The whole thing being dynamic.....
    But when I dynamically populate the same on to a parameter lv_java_param and then execute the same
    lv_java_string=`java $lv_java_param`
    if i echo $lv_java_param  its giving me Test "a z" "b t" "" "" "" "" "" "" "" ""  correctly
    Im facing some issue...... The issue is " is being treated as a parameter itself and the space between a and z is not taken into consideration and hence z is taken as the 2nd parameter
    Issue seems to be something like the precedence in which the above statement is executed, because of which "s are calculated/manipulated. Is it something like
    a) $lv_java_param is computed  first and then java $lv_java_param
    b) or java $lv_java_param is run on the fly......
    Any help is much appreciated.

    This forum is about Oracle *RDBMS*
    I don't see any question about Oracle RDBMS
    Please find a forum about Java.
    Sybrand Bakker
    Senior Oracle DBA

  • Why does it say i have extra characters in this function?

    why does it say extra characters?
    1087: Syntax error: extra characters found after end of program.
    Symbol 12.addEventListener(MouseEvent.onRelease,exit);
    function exit(evt:MouseEvent):void {
        -root.nav_mc.gotoAndPlay(2);  
         -root.page1_mc.gotoAndPlay(30); 

    http://www.megaupload.com/?d=HYR51BPM
    that is the link to upload my website so far... i am following the tutorial from this site:
    http://www.flashvideotutorials.info/paidarea.html
    im on the adding pages 2 part, but he is using as 2 and im using as 3
    i cant figure out how to get the pages to work right.... please help me out
    thanks
    Kyle

  • Extra characters at end of file

    I am getting extra characters (carraige returns I think) at the end of these clobs using the source below.
    This only heppens when PL/SQL sends small clobs. We are building xml files from PL/SQL for file system use.
    Any input is appreciated.
    Thanks
    create or replace and compile java source named sjs.write_CLOB as
    import java.io.*;
    import java.sql.*;
    import java.math.*;
    import oracle.sql.*;
    import oracle.jdbc.driver.*;
    public class write_CLOB extends Object
    public static void pass_str_array(oracle.sql.CLOB p_in,java.lang.String f_in)
    throws java.sql.SQLException, IOException
    File target = new File(f_in);
    FileWriter fw = new FileWriter(target);
    BufferedWriter out = new BufferedWriter(fw);
    Reader is = p_in.getCharacterStream();
    char buffer[] = new char[8192];
    int length;
    while( (length=is.read(buffer,0,8192)) != -1) {
    out.write(buffer);
    // out.newLine();
    is.close();
    fw.close();
    CREATE OR REPLACE PROCEDURE sjs.write_CLOB(CLOB_in CLOB,file_in VARCHAR2) AS
    LANGUAGE JAVA NAME 'write_CLOB.pass_str_array(oracle.sql.CLOB,java.lang.String)';
    /

    Jeff,
    The SQL in the script file is below.  To be honest, I have reduced it down to a simple select from dual and it still puts extra spaces at the end of the single line.
    col ord noprint
    spool test.csv
    SELECT  ' ' ord,
      'ZONE_ORDER_NUMBER'||','||
      'ZONE_NAME'||','||
      'ZONE_TYPE'||','||
      'DESCRIPTION'||','||
      'START_DATE'||','||
      'END_DATE'
    FROM dual
    UNION ALL
    SELECT zone_name ord,
      '"'||zone_order_number||'"'||','||
      '"'||zone_name||'"'||','||
      '"'||zone_type||'"'||','||
      '"'||description||'"'||','||
      '"'||TO_CHAR(start_date,'DD-MON-YY')||'"'||','||
      '"'||TO_CHAR(end_date,'DD-MON-YY')||'"'
    FROM zones
    ORDER BY ord;
    spool off

  • Why am I getting the error message disallowed key characters in Safari on my mac?

    Why am I getting the error message dissallowed key characters while browsing the web on my mac?

    As there have been no further responses to this thread, I've finally marked Google Chrome as my default browser on both computers.

  • Extra characters getting appended after decoding

    Hi All,
    I am trying to decode the special characters by using the following function
    public static String decode(String str) throws Exception
    byte[] b0 = new byte[str.length()];
    Pattern p = Pattern.compile(
    "\\G(?:=(\\p{XDigit}{2})|[\\p{Graph}\\p{Blank}&&[^=]])");
    Matcher m = p.matcher(str);
    int idx = 0;
    while (m.find())
    b0[idx++] = m.start(1) != -1
    ? (byte)(Integer.parseInt(m.group(1), 16))
    : (byte)m.group().charAt(0);
    // byte[] b1 = Arrays.copyOf(b0, idx);
    return new String(b0, "UTF-8");
    But if i decode "=C2=A365=20sheetal " to £65 sheetal..,the decode is proper but it is adding extra characters like £65 sheetal?????? at the end .
    How can i make my decode function not to add extra characters?OR HOW CAN I JUST SAVE "£65 sheetal " THIS VALUE??
    THANKX

    The problem got solved..,its decoding every extended bit values.
    The function was changed little bit.Array copy is done using for loop.
    public static String decode(String str) throws Exception
    byte[] b0 = new byte[str.length()];
    Pattern p = Pattern.compile(
    "\\G(?:=(\\p{XDigit}{2})|[\\p{Graph}\\p{Blank}&&^=])");
    Matcher m = p.matcher(str);
    int idx = 0;
    while (m.find())
    b0[idx++] = m.start(1) != -1
    ? (byte)(Integer.parseInt(m.group(1), 16))
    : (byte)m.group().charAt(0);
    // byte[] b1 = Arrays.copyOf(b0, idx);
    byte[] b1=new byte[idx];
    for(int i=0;i<idx;i++){
    b1=b0[i];
    return new String(b1, "UTF-8");
    Can any one say me,why euro symbol appears as ? in web-ui ,but it is saved in database as euro symbol itself?
    Thankx

  • Why is my Air Mac keyboard typing extra characters?

    Why is my MacBook Air kayboard adding extra characters as I type? It looks like this:
    W@hy6 i8s my6 MacBo9o9k Ai8r4 ke3y6bo9ar4d addi8ng e3xt5r4a char4act5e3r4s as I* t5y6pe3?

    Start up in Safe Mode.
    http://support.apple.com/kb/PH11212
    If this does not help, you have to take the computer to the Apple store to have it
    checked out.

Maybe you are looking for

  • Photoshop CS5 Flickers Under Windows 8 64

    I just upgraded my Win7 64 desktop to Win8 pro 64, and now photoshop cs5 is behaving very strangely. Any mouse click operation causes the entire working window to flicker, and the background to cycle between the normal pale gray background, a window

  • How do I call pl/sql function from Toplink

    I can easily call a stored procedure from Toplink ==================================================== public Collection executeSelectingStoredProcedure(StoredProcedureCall storedProcedureCall) throws DAOException Collection returnValue = null; Sessi

  • Flash appearing as a button

    in the last month, suddenly, flash files in the explorer, appears as buttons (one big button) until i press ones and then everything works as usual. it happends to all flash files, not only the ones that I published. any one knows anything about it?

  • Expand keyword list

    I love the keywords in Lightroom. I use the smart collections a lot with keywords but is it possible to expand the keyword sets. Now it is only possible to put in 9 keywords in each set. In some sets I need more options.

  • 2011 macbook pro 13, 2.3 i5 battery

    I just bought a Macbook Pro 13 inch i5 and the battery life never reaches more than 2hours 30 minutes? is this normal? i am by no means doing heavy work on it yet? i was under the impression i would receive up to 7 hours battery life hence the purcha