Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: BauV
  • Order by date
  1. BauV

    Replace accent character "é" with "e"

    Unfortunately I do not have required access to install unaccent. Cheers, BauV.
  2. BauV

    Replace accent character "é" with "e"

    hi, $file file1.txt --- says, English text or ASCII text Does this matter? Cheers, BauV
  3. BauV

    Replace accent character "é" with "e"

    Thanks mikrom. Both are showing errors, as below - 1) $ echo 'xáéíy' | unaccent utf-8 ---error: "ksh: unaccent: not found" 2) $ echo 'xáéíy' | sed 'y/áéí/aei/' ---error: sed: command garbled: y/áéí/aei/ I tried below command: echo 'xá sdfdsédsfjdks íy' | sed -e 's/é/e/g' ---worked fine...
  4. BauV

    Replace accent character "é" with "e"

    Thanks Fuherke, for the help. I did try this already, shown with Error: tomap cannot be specified with fromcode. Any further help is appreciated. Cheers, BauV
  5. BauV

    Replace accent character "é" with "e"

    hi, I need to replace accent character "é" with "e" (I know this is not correct replacement) in my file after converting it from utf-8 to ascii. Any help is appreciated, thanks in advance. Command used for conversion: $iconv -c -f utf-8 -t ascii < file1.txt > file2.txt Cheers, BauV
  6. BauV

    diff to show differed lines only (hiding common lines)

    hi, This one worked for me excluding the lines that start with 1 space. diff file1.txt file2.txt |grep -v '^ ' > outputfile.txt Cheers, BauV
  7. BauV

    diff to show differed lines only (hiding common lines)

    Thanks Feherke, for your suggestion. Unfortunately it's not working, my Linux 5.10 says "...illegal option -- unchanged-line-format=". Even "diff file1.txt file2.txt |grep -E ’<|>’ > outputfile.txt" also says "....illegal option -- E..". Any further suggestion is appreciable. Cheers, BauV
  8. BauV

    diff to show differed lines only (hiding common lines)

    hi, I am comparing 2 TXT files, each one has millions of rows, to know the differed rows. How can I hide common rows in the resultant files? please help. My command: diff -u -w <sort file1) <(sort file2) > file3.res My file1: a1 Bala a2 vup a3 jivup My file2: a1 Bala a2 Vup a3 jivup b1 abc...

Part and Inventory Search

Back
Top