Search Results

Search: Posts Made By: BlueberryPickle
34,354
Posted By BlueberryPickle
Unexpected EOF while looking for matching `"'
Hi everyone,

I am trying to search for a string in a file that is partly made up of a variable. Here's the code:


echo "parentCategory = $parentCategory"
echo "parentCategoryFormatted =...
8,791
Posted By BlueberryPickle
Many thanks to the both you. In particular,...
Many thanks to the both you.

In particular, found the example very useful and have definitely learned a thing or two. I'll be wearing my double quoting hat from now on!
8,791
Posted By BlueberryPickle
Sed unknown command
Hi everyone, I am trying to replace a string that contains a space using sed. A typical input file is:

CATEGORY=1 1:1.0
CATEGORY=2 13:1.0
CATEGORY=3 1:99.0
CATEGORY=8 14:1.0
CATEGORY=11...
24,750
Posted By BlueberryPickle
Replacing French special characters
Hi,

I have tonnes of .txt files that are written in French. I need to replace the French special characters, however, with English equivalents (e.g. é -> e and ç -> c).

I have tried this

---
...
1,583
Posted By BlueberryPickle
Looping through entries
Hi everyone,

I am having trouble looping through entries in a file. The file several entries that are separated by topics e.g.
<Topic r:id="Top/World/Français">
</Topic>
<Topic...
3,974
Posted By BlueberryPickle
Using sed to remove paragraphs with variables
Hi everyone,

I have a file with multiple entries and I would like to remove the ones that contain either /A"> or /A/, where A can be any letter of the alphabet. Here's an example of the entries:...
Showing results 1 to 6 of 6

 
All times are GMT -4. The time now is 02:56 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy