1. M

    Search directory and search File

    How can i first search with certain filename with wild card and then search a string in those filename and get the output. E.g Directory name : abc/def/xyz/ Files in directory : Abc12, abc13, abd12,abc14,abc15, abe12 and so on. First search : ab*12 Output : abc12,abd12,abe12 Now search...
  2. A

    Keep one ID based on value of a column?

    hellow, i have a tab delimeted file: GH76.hmm - 358 VENTURIA_I_00885.t1 - 411 7.50E-83 273.9 26.1 1 1 7.80E-85 2.30E-82 272.3 26.1 15 354 24 406 21 410 0.87 GH105.hmm - 332 VENTURIA_I_00885.t1 - 411...
  3. ylspirit

    Awk tutorial: awk syntax and awk examples
  4. P

    Rearrange Header and Data of different versions of Text file based on a Master File

    I want to re-arrange the data (Header and Detail) in multiple pipe delimited text files, in the order specified in a reference master file and create a single output file, using shell script. The order of the columns will be different in different input files. Data could be empty for the...
  5. nikolaymartin

    Awk Multiterm Match

    I want to match multiple search terms in awk with a single command. How ca i specify multiple search terms to math?
  6. iridakos

    Remove duplicate lines from files keeping the original order (one-liner explained)

    Hi all, I published a post providing ways for removing duplicate lines from text files keeping the original order and a thorough explanation of how the awk one-liner works. Hope you find it useful