[Bug 997] New: HUSH: redirecting output of the last line of "printf" does not work

bugzilla at busybox.net bugzilla at busybox.net
Wed Jan 27 15:10:01 UTC 2010


https://bugs.busybox.net/show_bug.cgi?id=997

           Summary: HUSH: redirecting output of the last line of "printf"
                    does not work
           Product: Busybox
           Version: 1.15.x
          Platform: Other
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P5
         Component: Other
        AssignedTo: unassigned at busybox.net
        ReportedBy: m.garai at ziv.es
                CC: busybox-cvs at busybox.net
   Estimated Hours: 0.0


architecture: bfin
version: 1.15

(can not reproduce on pc even with BUILD_AS_NOMMU set to 1)

The following command:
printf line > testfile.txt

In hush prints "line" to the console and leaves testfile.txt void
In bash testfile.txt contains "line"

The command:
printf "line1\nline2" > testfile.txt

In hush prints "line2" to the console and testfile.txt contains "line1"
In bash "line1\n"line2" is written to testfile.txt

thanks in advance,

Mikel Garai


-- 
Configure bugmail: https://bugs.busybox.net/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.


More information about the busybox-cvs mailing list