Search results

Jump to: navigation, search

Page title matches

Page text matches

  • sed oneliner to delete offending key from known_hosts sed command specifying
    301 B (51 words) - 00:16, 21 March 2013
  • Handy one-liners for SED HANDY ONE-LINERS FOR SED (Unix stream editor) Mar. 23, 2001
    17 KB (2,827 words) - 16:14, 8 May 2016
  • sed -i ''expression filename'' $ sed -i '/^exit$/d' ~/.bash_history
    185 B (26 words) - 14:43, 1 March 2019
  • $ echo 'aba14839' |sed 's/../ 0x&/g' |xargs printf "%d.%d.%d.%d\n"
    683 B (77 words) - 02:17, 2 January 2015
  • sed -n -e '/Word B/,/Word D/ p' file [[category:sed]]
    145 B (32 words) - 02:23, 11 May 2013
  • == variables in sed (and other utils) ==
    221 B (33 words) - 01:28, 12 May 2013
  • for file in *.JPG ; do mv $file `echo $file | sed 's/\(.*\.\)JPG/\jpg/'` ; done
    156 B (29 words) - 16:03, 24 May 2013
  • for i in *; do newname=`echo $i | sed -e 's/(.*)//g'`; echo $newname; done
    517 B (78 words) - 18:06, 8 October 2013
  • Howto print text between tags or characters with awk or sed with sed:
    434 B (68 words) - 17:50, 4 December 2013
  • cat Download.csv | sed -e '1d' | awk -F "\",\"" '{ for (i=1; i<=NF; i++); printf substr($1,2) ","
    291 B (36 words) - 21:17, 11 October 2013
  • ...list.org/search/?sort=rel&areaID=15&subAreaID=&query=$search&catAbb=sss" | sed -n -e '/list.*thumb.*gallery.*map/,/Reference/ p'
    213 B (31 words) - 16:36, 14 November 2016
  • # cat firewall_policy.txt | sed -n -e '/^[0-9]* *Any/,/--------------------/ p'
    298 B (45 words) - 21:09, 3 May 2014
  • ...If one had a reliable traslation, I would perform it using the line editor sed.
    2 KB (321 words) - 06:17, 19 September 2014
  • to resize using sed $ sed -i 's/<size>8<\/size>/<size>12<\/size>/' ~/.config/openbox/rc.xml
    766 B (102 words) - 16:04, 8 May 2016
  • sed 'x;1!H;$!d;x'
    18 B (5 words) - 15:10, 5 May 2017
  • # cat .abc.txt | sed -n '/abc/N;/def/p' # cat .abc.txt | sed -n '/abc/N;/def/N;/ghi/p'
    277 B (55 words) - 02:06, 17 May 2017
  • $ '''printf "one\ntwo\nthree\nfour\nfive\n" | sed -n '2,4p'''' <br>$ '''printf "one\ntwo\nthree\nfour\nfive\n" | sed -n "${START},${END}p"'''
    747 B (123 words) - 20:12, 24 January 2018
  • ...''.INFORMATION_SCHEMA.COLUMNS WHERE TABLE_NAME = 'myTable_of_interest' " | sed 's/ \+/ /g' | grep -v "\-\-\-"
    2 KB (313 words) - 17:53, 25 May 2021
  • example of sed failing to remove newline... $ '''printf "foo\nbar\n" | sed 's/\n//''''
    244 B (43 words) - 18:53, 2 April 2024

View (previous 20 | next 20) (20 | 50 | 100 | 250 | 500)