ALT Linux Bugzilla
– Attachment 3802 Details for
Bug 21300
tab in stdout looks bad in syslog
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
scenario producing patch for scripts dir
make-patch-detab-output.sh (text/plain), 398 bytes, created by
Dmitry Chistikov
on 2009-08-30 15:04:57 MSD
(
hide
)
Description:
scenario producing patch for scripts dir
Filename:
MIME Type:
Creator:
Dmitry Chistikov
Created:
2009-08-30 15:04:57 MSD
Size:
398 bytes
patch
obsolete
>#!/bin/sh > >if [ $# -eq 1 ]; then > TARGETDIR="$1" >elif [ $# -eq 0 ]; then > TARGETDIR=scripts >else > exit 2 >fi > >BACKUPSUFFIX=.orig > >[ -d "$TARGETDIR" ] || exit 1 >rm -rf "$TARGETDIR$BACKUPSUFFIX" >cp -a "$TARGETDIR" "$TARGETDIR$BACKUPSUFFIX" >grep -lr '\\t' "$TARGETDIR" | >while read filename; do > sed -i '/print_message/s/\\t/${TAB}/g' "$filename" >done > >diff -ur "$TARGETDIR$BACKUPSUFFIX" "$TARGETDIR" >
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 Raw
Actions:
View
Attachments on
bug 21300
:
3800
|
3801
| 3802 |
3803