Search Results

Search: Posts Made By: Nostyx
18,116
Posted By ni2
Here is what I tried. less FILENAME less...
Here is what I tried.

less FILENAME
less test.sh
#!/bin/bash

echo "Enter Username"
read Username

awk -F: -v var=${Username} '$0 ~ var {gsub(/foo/,"bar",$2); print}' FILENAME

bash...
6,581
Posted By joeyg
join works with sorted files. therefore, both...
join works with sorted files.
therefore, both must be sorted prior to the 'join' command.

you may sort to new filenames prior to the 'join', or try to sort in-line
i would recommend sorting to...
Showing results 1 to 2 of 2

 
All times are GMT -4. The time now is 05:59 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy