Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 143880 Details for
Bug 210590
[PATCH] fix_la_files uses unportable echo
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use printf
fix.patch (text/plain), 895 bytes, created by
Roy Marples
on 2008-02-18 15:41:27 UTC
(
hide
)
Description:
Use printf
Filename:
MIME Type:
Creator:
Roy Marples
Created:
2008-02-18 15:41:27 UTC
Size:
895 bytes
patch
obsolete
>--- fixlafiles.awk.orig 2008-02-18 15:21:33.000000000 +0000 >+++ fixlafiles.awk 2008-02-18 15:30:31.000000000 +0000 >@@ -6,22 +6,22 @@ > # Helper functions > # > function printn(string) { >- system("echo -n \"" string "\"") >+ printf("%s", string) > } > function einfo(string) { >- system("echo -e \" \\e[32;01m*\\e[0m " string "\"") >+ printf(" \033[32;01m*\033[0m %s\n", string) > } > function einfon(string) { >- system("echo -ne \" \\e[32;01m*\\e[0m " string "\"") >+ printf(" \033[32;01m*\033[0m %s", string) > } > function ewarn(string) { >- system("echo -e \" \\e[33;01m*\\e[0m " string "\"") >+ printf(" \033[33;01m*\033[0m %s\n", string) > } > function ewarnn(string) { >- system("echo -ne \" \\e[33;01m*\\e[0m " string "\"") >+ printf(" \033[33;01m*\033[0m %s", string) > } > function eerror(string) { >- system("echo -e \" \\e[31;01m*\\e[0m " string "\"") >+ printf(" \033[31;01m*\033[0m %s\n", string) > } > > #
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 210590
: 143880