Please note, this is a STATIC archive of website www.tutorialspoint.com from 11 May 2019, cach3.com does not collect or store any user information, there is no "phishing" involved.
Tutorialspoint

fdsafas

cat <<EOF |
8 192.27.69.191
2 82.202.69.253
EOF
xargs -n2 sh -c '
    # format the output as "$2 ($1): "
    printf "%s (%s): " "$2" "$1"
    # repeat the character `#` $1 times
    seq "$1" | xargs printf "#%.0s"
    # lastly a newline
    printf "\n"
' --

#xargs -n2 sh -c 'printf "%s (%s): %s\n" "$2" "$1" $(printf "#%.0s" $(seq $1))' --
#xargs -n2 sh -c 'echo "$2 ($1): $(printf "#%.0s" $(seq $1))"' --

Advertisements
Loading...

We use cookies to provide and improve our services. By using our site, you consent to our Cookies Policy.