Small size file can not read correctly on other linux

Hi, I am running archlinux 0.8 on my laptop, and there is another linux runs kernel version 2.6.20 with root filesystem of debian v3.1.
I wrote a shell script which reads a small, 49 bytes, only 1 line conf file on my archlinux, it works fine.
But if I copy script & conf files to debian, the script can not read conf file with:
while read f;do; echo $f; done < conf
but `cat`,`more` commands can read it. I have to open conf file with vi on debian and do nothing but :wq rewrite it to make script working.
Both arch & debian use ext3 file system. Could anyone tell me why? thanks.

I think your command is wrong: it works with zsh and doesn`t work in bash. Maybe you should remove extra ';'?
while read f;do echo $f; done < conf

Similar Messages

  • After I search something with the search bar everything comes up small and I can not read what Mozilla has found.

    I type in anything in the google search box. When my results come up on my left they are so small I can not read them. once I click on one of them it pulls up the page and It is back to normal, but it is minimized in the search.

    Reset the page zoom on pages that cause problems.
    *<b>View > Zoom > Reset</b> (Ctrl+0 (zero); Cmd+0 on Mac)
    *http://kb.mozillazine.org/Zoom_text_of_web_pages

  • Everything is very small, text, pics, programs dont even fill 1/4 of a page I can not read it and if i click apple plus things overlap each other so now what???

    everything is very small, text, pics, programs dont even fill 1/4 of a page I can not read it and if i click apple plus things overlap each other so now what???

    Can you think of any recent changes on your computer or in Firefox, new programs, add-ons, etc.?
    Have any cats walked across your keyboard recently?
    My first guess is the same as yours, which is a "zoom" issue. Holding down the Command key and pressing 0 (zero) should reset the zoom level of the current site to the standard level. Is that still too small?
    Regarding content overlapping, this can occur for a few different reasons. Please check on these:
    (1) "Text Only" zoom
    If View menu > Zoom > Zoom Text Only has a checkmark, click it again to unselect it.
    (2) Manually setting font sizes
    In the Preferences dialog (either the "3-bar" menu button or the Firefox menu) > Content > "Advanced" button
    If the Minimum font size is set to a number larger than 9, change it to 9 or None. A large minimum font size often will wreck the layout.
    At the top, there is "Fonts for" drop-down that usually will say Latin or Other Writing Systems. You will want to make the same change for both of those, so select whichever one isn't currently displayed.
    Finally, make sure the checkbox for "Allow pages to choose their own fonts" is checked and OK out of the dialog.
    Any difference so far?

  • I am trying to import cr2files from the camera into lightroom 5 and keep getting an error message saying Lightroom can not read the files and therefore will not import them.  Has anyone had a similar problem-.thanks

    I am trying to import cr2files from the camera into lightroom 5 and keep getting an error message saying Lightroom can not read the files and therefore will not import them.  Has anyone had a similar problem….thanks

    If you are having the same problem, i.e. a disk permission problem, open your favorite search engine and search on, "change disk permissions", and I think you'll find plenty of information on how to fix the problem. This is a Lightroom forum. Your problem is with your operating system. There is no sense in rewriting instructions that are already available if you do a simple search.

  • I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    I have a problem with the mac can not read video files with the extension IMOD. How can I solve this problem?

    By doing a Google search. 

  • I am not able to Sync. My iPOD classic 80Gb. It tells that as iTunes can not read the contents-restore to factory settings- after restoring – it tells that it can not be restore bcause there are files that are used by other application. I am having Widows

    I am not able to Sync. My iPOD classic 80Gb. It tells that as iTunes can not read the contents-restore to factory settings- after restoring – it tells that it can not be restored bcause there are files that are used by other application. My iPOD appears in My Computer in drive H as a mass storage generick volume

    Try disabilng the Enable Disk Use option from under the iPod's Summary tab, applying the changes, and seeing if that helps.
    Otherwise, temporarily disabling any antivirus, security, firewall, or file indexing software that may be running on your system and then try restoring your iPod again.
    B-rock

  • Bought a new camera and Photoshop advises me that it can not read my type of file.. Its canon 7d mark 2 and the extension is CR2.

    Bought a new camera and Photoshop advises me that it can not read my type of file.. Its canon 7d mark 2 and the extension is CR2.

    Hi EddieGerdak,
    The update is available now.
    Release details:
    Lightroom 5.7: http://blogs.adobe.com/lightroomjournal/2014/11/lightroom-5-7-now-available.html
    Camera Raw 5.7: http://blogs.adobe.com/lightroomjournal/2014/11/camera-raw-8-7-and-dng-converter-8-7-now-a vailable.html
    Regards,
    Pete

  • Can not read my pdf files can i use adobe ?

    I can not read my pdf files and need to download adobe ,can you help please .

    In order to read the pdf either you need Acrobat or Adobe Reader,
    Acrobat is a paid software and used to read and edit the pdf files.
    Reader is the free software used to just read the pdf files.
    To download reader use this link:- http://get.adobe.com/reader/

  • Please help!! Pages 09 :: Pages Files Can not be read - The Document Does Not Have A Valid Format

    I used pages to write my coursework, but when I saved it, pages crashed...
    Now I tried to reopen the file. It shows "The document ___.pages can not be read - The Document Does Not Have A Valid Format".
    I've looked through the forum to find any fix methond.  I tried the "zip solution" -> changes the file entention as .zip file.
    But the still can not solve my problem. it shows the zip file can not be open..
    I put my files in the following link.
    http://dl.dropbox.com/u/16476040/Marketing%20Coursework.pages
    Please could anyone try to offer me assistance. bacause it is very urgent.
    I will be very grateful if anyone can help me.

    Hi, Peter
    I followed the instriction, and changed to root to locate /.DocumentRevisions-V100/
    I can see several ______.pages file under the ./DocumentRevisions-V100/PerUID/
    From the "Date Modified" attribute, I can find several __.Pages files that what I want.
    But unfortunately, when I tried to open these version files, it still shows
    The document can not be read. The Document does not have a valid format....

  • I just stared having problems with importing files from nikon D810 into LR 5.7 it pop a window saying it can not read files on working on a imac 27" running yosemite on my mac pro after a few times it finally was able to read files and import them into LR

    I just stared having problems with importing files from nikon D810 into LR 5.7 it pop a window saying it can not read files on working on a imac 27" running yosemite on my mac pro after a few times it finally was able to read files and import them into LR I never had this problem before was there some kind of update that could of cause this?

  • I have just upgraded to Lightroom 5 and my pictures that were from an later version came over but read on each picture "File can not be found"

    I have just upgraded to Lightroom 5 and my pictures that were from an later version came over but read on each picture "File can not be found"

    This screenshot shows which previous versions of iPhoto are compatible with Mavericks.  It also indicates which versions qualify for a free upgradeto iPhoto 9.5.1 and which require a purchase:
    Note 1:  every day more users are reporting problems with iPhoto 8.1.2 so I've included it in the non compatible category.
    Note 2:  If your previous version of iPhoto was iPhoto 7 (08) or earlier you'll need to download and run the iPhoto Library Upgrader 1.1 application on the library before opening it with iPhoto 9.5.1

  • My iTunes can not read a file, because its created by a newer

    My iTunes can not read a file, because it's created by a newer!!!
    The file is:     iTunes Library.itl
    I hope you can help me!!
    Bye tokiodrift

    You need to restore the pre-upgrade backup of the library file in the manner shown in  Empty/corrupt library after upgrade/crash.
    tt2

  • Can not read or write to mac hard drive error

    When attempting to transfer music files from an external usb harddrive formatted in windows into Itunes, I can only successfully import a small fraction of the music, and then its stops with a error, that the Mac HD can not read or write files.

    It's possible the file names have some 'funky' characters in them that the Mac doesn't like ?
    What format is the external drive ?

  • The scan's to PDF file can not be printed

    Hello,
    Im have an Mac running on Mac Os X 10.7.3
    I bought a HP officejet PRO 8500 A910.
    The printer is installed and works fine if a want to print a document or a picture. The scanner also works.
    BUT there is a problem.
    When I scan a document in my HP scanner to a PDF file. This PDF file can not be printed. When I send it to other people's computer, the can also read it on screen, but not print.
    The printer gives an error :  Unable to covert PostScript file. (see screenshot).
    Can anyone help me? I want to scan usable PDF documents that can be printed by anyone.
    Thank you.
    Erik 
    This question was solved.
    View Solution.

    The solution given was to convert to image. Then it is no longer a PDF! The printer worked fine until I upgraded to 10.9. Did the change in drivers eliminate the PPD? I can print PDF's from Preview just fine. Will HP be updating the driver to include the proper PPD?  As an aid to troubleshooting, what files should be present in the Library for correct PDF printing? This is happening on both my 8500 and 8610.
    Thanks

  • Any time any of my usernames come up in the dropdown menu with auto complete, the font is to small and i can't read it.. is there anyway to make it bigger???

    the auto fill feature that firefox has, when i go to type in a username that's already been entered in, i cant read what i've previously put in at previous website visits. The drop down menu that shows what has previously been entered is way to small and i can't read what it says. even with the page zoomed. how can i make it bigger?

    Hello Ashley.
    You may be having a problem with some extension or plugin that is hindering your Firefox's normal behavior. Have you tried disabling all add-ons (just to check), to see if Firefox goes back to normal?
    On the other hand, you may have Firefox configured to display fonts like that. Check Tools > Options > Content > Fonts & Colors and see that the font size is not too small. In my experience, sizes bellow 16 will be way to small to read.

Maybe you are looking for

  • Mail address's and names getting mixed up?

    I have an account with over 10000 emails within it, lately names of senders & recipients are getting mixed up, i.e mail from J smith will show as coming from P smith but actual message is correctly from J smith. I also have the account on my macbook

  • ITunes crashes when I plug in my iPod

    The problem started with iTunes 9.0.1. My iPod was plugged into my PC and I was playing music from it when it just cut out half way through the song. I tried to bring up iTunes but it was non-responsive. I closed it, restarted my computer and tried a

  • Removal of  Developer Key entry from DEVACCESS Table.

    Hi, On table DEVACCESS, in QTY/DEV/Prod there is one person with Developer Key listed that I would like to remove,  User is no more working and now we want to delete the entry from this table which has the User name followed by the Developer key assi

  • Making a video clip on my MacBook Air fails

    MacBook Air running 10.7.3 using Quiicktime 10.1 - When I try to make a movie clip I get the message "This operation can not be completed".  It works on my iMac.  Is my only recourse to delete and re-install?  If there is a less painful way to fix th

  • Update Manager issues

    I have been using solaris for going on 10 years now. In the past I would download the latest patch cluster from Sunsolve, burn it to a cd, and install the cluster from single user mode. When 10 came out, I was excited to see and experiment with the u