text-processing

  1. Append lines which do not contain "|" to the previous line
  2. Compare two files and retrieve corresponding results
  3. Editing two .txt file for making them compatible for the join command

  4. count unique entry in a particular column between search pattern
  5. Combine two file into one file

  6. Awk command for merging files

  7. extract fasta entries from list using while read

  8. How to parse table for pattern if pattern includes spaces

  9. Grep and remove lines with a blank field value
  10. grep: detect multi-line pattern with double capture

  11. separate same line numbers from multiple files

  12. using bash script to extract a number

  13. sed remove spaces (multiple encoding) from end of line
  14. How to prepend a license header recursively for all .h and .cpp files in a directory
  15. Convert between Unicode Normalization Forms on the unix command-line
  16. How to count the number of characters in a line, except a specific character?

  17. Round down/truncate decimal places within column
  18. Replace a character only if preceded by a digit
  19. Fixing Text Files with Invalid Characters

  20. Show all the file up to the match

  21. linux + how to check partition size that not less then XXG

  22. awk column spliting using delimitter
  23. Double quote value assignments stored in a CSV?

  24. check if string is present in a list and output a third file if string is present
  25. Replace lines matching a pattern with lines from another file in order
  26. Pruning fields out of a file

  27. Replace "_" with "|" in a file on 5th field only
  28. How to align list to specific character?

  29. Replace all occurrence of character except first one

  30. Remove newline character just every N lines
  31. how to CREATE a column with zero values in shell?
  32. How to append some string combined with the pattern at the end of line with the pattern

  33. Problem using find with filenames containing spaces

  34. Remove all the lines before the first line that contains a match?

  35. Convert / import flat file with multiple records, one variable per line

  36. head eats extra characters
  37. Unix terminal - How to print every bigram/trigram of a line?

  38. Ansible, attempting to get specific regex pattern to work with lineinfile module
  39. SED/AWK: Add a string to multiple files matched by regex value from another source file

  40. deleting characters from expression using sed

  41. Custom ASCII paper size for groff

  42. text processing - How to sort unique the output of find that has duplicate filenames from different directory?

  43. How to use grep to get the matching part only, without introducing extra newlines

  44. Replace range of lines with range of lines (sed or others)

  45. sed to change the first match of a different match

  46. trim tailing - and add it leading for Numbers in shell

  47. Help with displaying formatted load average

  48. How can I extract data from a command output with Bash?

  49. Swap yoda conditions strings in all files

  50. Ignore part of the string with sed
  51. Why does xargs strip quotes from input?

  52. Select lines of file 1 where field of file 2 > x

  53. To search and replace a character in a line within a file
  54. Delete all lines that start with Log.d
  55. Single record of a file getting splitted over multiple lines

  56. Append to an existing variable in a file
  57. Find and Extract Text inside Strings

  58. Remove everything from a text file between ":" and "\n"

  59. Find any lines exceeding a certain length
  60. How to append multiple lines to a file
  61. Parse `uptime` for just the duration
  62. How to find out common elements between two files?

  63. get value part of specific word in AIX

  64. With the help of line number, replace a whole line with another line which cotains file path

  65. How to separate expac data into columns and colour code each column in less?
  66. Count the number of blank lines at the end of file
  67. How to remove trailing whitespace at the end of the line in given files (more than one)?

  68. Only keep lines containing x or less number of numbers. TXT file
  69. Parsing only lines that have 9 periods

  70. How to parse JSON with shell scripting in Linux?

  71. sort File B based on column 3 of File A without changing contents of File A

  72. count country code in a file and save a file command or bash script

  73. How do I remove multiple special characters from a file?

  74. Grep for a set of lines from $START to $END AND that contains a match in the $MIDDLE
  75. intersection beween 2 files (values in file 1 which fall in range of values in file 2)
  76. Change a list of strings to lowercase

  77. How to grep any digit from sentence
  78. Improve awk command processing file

  79. delete a line w.r.t a column
  80. tail -f, but with line numbers
  81. What is the python equivalent of grep -v?
  82. How to take input from a column and change it to something else and count it
  83. read file containing Hex values and process it

  84. How to output 1-30 while searching file for those numbers and how many times they appear

  85. Loop for's result in a variable for sql query
  86. Awk command for summing 2 patterns in pairs from a text file

  87. How to print a certain field depending on input?

  88. how to get n-1 number
  89. Grep keep (output) entire .txt file if one line contains string
  90. Why is printf better than echo?
  91. Output negative values, regardless of original sign, on selected lines

  92. compare file A to B and spot differences
  93. Process multiple files, pull out multiple matches and print (save) to a file

  94. Rearrange the letters and Compare two words
  95. How can I replace a string in a file(s)?

  96. Subtracting same column between two rows in awk

  97. Multi-line file shuffle

  98. how can i change the character case (lower to upper and vice versa)? at the same time

  99. How do I insert a space every four characters in a long line?
  100. How to interleave the lines of two or more files?