RE: linux question

From: Allen, Brandon <Brandon.Allen_at_OneNeck.com>
Date: Tue, 24 Mar 2009 17:11:28 -0700
Message-ID: <64BAF54438380142A0BF94A23224A31E1123120AC0_at_ONEWS06.oneneck.corp>



If you're sure it will be the only file, then you can use the "*" wildcard:

sed -i 's/"//g' *

But, you'd better be very cautious with that, making sure you're in the correct directory first and there aren't any other unexpected files in there that you don't want to edit. If you know part of the filename, it would be safer to specify as much of it as you know to minimize risk of editing the wrong files, e.g. if the file will always have a date time stamp like "myfileMMDDYYYY.txt", then you could do this:

sed -i 's/"//g' myfile*.txt

Regards,
Brandon

-----Original Message-----
From: Eugene Pipko [mailto:eugene.pipko_at_unionbay.com]

It is going to be the only file in the directory.

Privileged/Confidential Information may be contained in this message or attachments hereto. Please advise immediately if you or your employer do not consent to Internet email for messages of this kind. Opinions, conclusions and other information in this message that do not relate to the official business of this company shall be understood as neither given nor endorsed by it. †Ûiÿü0ÁúÞzX¬¶Ê+ƒün– {ú+iÉ^ Received on Tue Mar 24 2009 - 19:11:28 CDT

Original text of this message