> Hi all
> I've a bash related question: I wish to translate one ascii file into
> another one, with only translating the ' occurences, to '' (one quote
> to two quotes).
> That is, the tr command should be well suited for this purpose,
> although the results are not as expected.
>
No.
tr translates one character to another. Its first & second arguments are sequences of
characters; the first of the first is trnslated to the first of the second, the second
of the first is translated to the second of the second and so on.
You probabkly want sed.
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list