Search Results

Search: Posts Made By: bhanja_trinanja
6,604
Posted By itkamaraj
find . -type f | xargs grep -l "pattern"
find . -type f | xargs grep -l "pattern"
16,328
Posted By Scott
Change: $input_file_name to the name of...
Change:

$input_file_name

to the name of your input file (without the $)
16,328
Posted By anurag.singh
awk '{ print > "POS_Volume_"$1".txt" }' ...
awk '{ print > "POS_Volume_"$1".txt" }' $input_file_name
16,328
Posted By Franklin52
Shorter ;): awk '{print > $1 ".txt"}' file ...
Shorter ;):
awk '{print > $1 ".txt"}' file

@panyam was faster :D
16,328
Posted By panyam
awk '{ print > $1".txt" }' ...
awk '{ print > $1".txt" }' input_file.txt
16,328
Posted By panyam
please post sample input and expected output. ...
please post sample input and expected output.

Regards
Ravi
Showing results 1 to 6 of 6

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