Skip to content
#

formatter

Here are 1,216 public repositories matching this topic...

black
ihar-orca
ihar-orca commented Feb 21, 2022

A full script:

#!/bin/bash

cat /etc/passwd | cut -f3 -d":" | sort -n | uniq -c | while read x; do
	[ -z "${x}" ] && break
	set - $x
	if [ $1 -gt 1 ]; then
		users=$(awk -F: '($3 == n) { print $1 }' n=$2 /etc/passwd | xargs)
		exit 1
	fi
done

Just a simple script to reproduce the issue:

#!/bin/bash
set - "test"

When I'm trying to run this script using the inte

Improve this page

Add a description, image, and links to the formatter topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the formatter topic, visit your repo's landing page and select "manage topics."

Learn more