RSSAmplifier

bidon.ca · Jun 4, 2021

Bash, sed, awk

0
Sign in to vote or save

This site does not allow itself to be embedded. You can still read it on the original site — the toolbar below keeps your place in the directory.

Awk 1 ps ax| awk '{ print $1 ' ' $5 }' Compter les occurences:&#xA;1 awk ' {foo[$4]++} END {for (f in foo) { print f , foo[f] }}' < test-did Sed Utilisation de &ldquo;backreferences&rdquo;:&#xA;1 echo 'abc123' | sed 's/\(.*\)\(123\)/\2\1/' Scripts bash 1 2 3 4 5 6 ${VAR:-text if $VAR is empty} ${VAR:=text if $VAR is empty and set VAR to this} ${VAR:+text if $VAR is set} ${#VAR} -> length of $VAR…

Read on bidon.ca

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.