#!/bin/bash
# Define the input file
input_file=”name.txt”
# Loop through each line in the file and extract the left-most value
while IFS= read -r line; do
# Extract the left-most value using awk
left_most_value=$(echo “$line” | awk ‘{print $1}’)
# Print the left-most value
echo $left_most_value
done < “$input_file”