Skip to content

Commit b0af578

Browse files
authored
Add example for processing list items with xargs
Added commented-out example for processing list items.
1 parent bd4e7d4 commit b0af578

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

Ubuntu_22.04/configs_install.sh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,12 @@
4646
# echo "$item"
4747
# done
4848

49+
# resp
50+
# xargs -d '\n' -I{} bash -c 'echo "Processing: {}"' <<'EOF'
51+
# first item
52+
# second item with spaces
53+
# third item with "quotes" and 'single quotes'
54+
# EOF
4955

5056
# TODO pohrat sa s tymi nastaveniami, ci vlastne su vsetky potrebne a robia to co chcem
5157

0 commit comments

Comments
 (0)