About 50 results
Open links in new tab
  1. ASCII art of letters, with the letters using their own characters

    Apr 5, 2017 · A BBBBBB CCCCC A A B B C C A A B B C A A BBBBBB C AAAAAAA B B C A A B B C C A A BBBBBB CCCCC or better yet, something more compact, like: A BBBB CCCC A A B B C A A …

  2. How to get only the unique results without having to sort data?

    62 $ cat data.txt aaaaaa aaaaaa cccccc aaaaaa aaaaaa bbbbbb $ cat data.txt | uniq aaaaaa cccccc aaaaaa bbbbbb $ cat data.txt | sort | uniq aaaaaa bbbbbb cccccc $ The result that I need is to display …

  3. text processing - how to use patch and diff to merge two files and ...

    merge(1) is probably nearer to what you want, but that requires a common ancestor to your two files. A (dirty!) way of doing it is: Get rid of the first and last lines, use grep(1) to exclude them Smash the …

  4. Merge two lists while removing duplicates - Unix & Linux Stack Exchange

    Sep 9, 2016 · first file aaaaaa bbbbbb cccccc mmmmmm nnnnnn second file mmmmmm nnnnnn yyyyyy zzzzzz I need to merge these 2 lists into 1 file, and remove the duplicates. I don't have diff (space is …

  5. text processing - Replace lines matching a pattern with lines from ...

    Oct 15, 2016 · With GNU sed, similar to awk+getline $ sed -e '/^!!/{R file2.txt' -e 'd}' file1.txt aaaaaa bbbbbb first line second line ccccc ddddd third line R would give a line one at a time order is …

  6. What does the dot in regex "^ [A-Za-z] {2} [1-9] {2}.*" do?

    You should refer to this ^[A-Za-z]{2}[1-9]{2}.* Debuggex Demo It's gold mine when it comes to explain regexp. ^ stands for beginning of the line [A-Z a-z] stands for any letter in the alphabet upper or lower …

  7. How can I iterate through each line of a file using each line to ...

    Jan 20, 2019 · There will be a different number of files in the directory at each time, so i require the script to itterate through all files in the directory. Also, the format of each file may be different so i think sed …

  8. Get max and min length values and data of columns?

    Aug 3, 2018 · $ ./script.sh Row1: Min 6 max 6 field0 field0 Row2: Min 1 max 10 a aaaaaaaaaa Row3: Min 1 max 10 b bbbbbbbbbb Note: If a row has multiple fields of the same length that end up being …

  9. copy huge number of files into date structured directory order

    May 21, 2016 · bbbbbb_I_20151209-185841_xxxxxx_12434_89343.WAV 20151209 is of course the date 12434 is the id of the user who made the file. What I need is a script/one liner that can search in …

  10. User Hüseyin Erkmen - Unix & Linux Stack Exchange

    Jan 24, 2018 · Q&A for users of Linux, FreeBSD and other Un*x-like operating systems