Search Results

Search: Posts Made By: shahhe
3,725
Posted By shahhe
Take a look at this site, it has awk and perl...
Take a look at this site, it has awk and perl solution.

https://www.unix.com/shell-programming-scripting/75091-how-transpose-table-data-using-awk.html
8,669
Posted By shahhe
Build .netrc file in your script and then call...
Build .netrc file in your script and then call ftp.
google .netrc for samples.
2,609
Posted By shahhe
You have to redirect input to the command. Try...
You have to redirect input to the command. Try following:

$ cat test.txt
/2010|1|2842|C|9999999900099|0|083|484.09|879|4004.59|1363|6277.43|1118|5020.95...
5,384
Posted By shahhe
You may try following code, "set -o noexec" will...
You may try following code, "set -o noexec" will be displayed, you will have to filter that out.


if [ $4 != "-f" ]
then
set -v
set -o noexec
fi
20,289
Posted By shahhe
Here is another simple solution: for i in...
Here is another simple solution:

for i in $(cat file.txt)
do
echo "$i: $(grep -c $i file.txt)"
done | sort -u
2,743
Posted By shahhe
Which operating systems are you using? gawk is...
Which operating systems are you using?
gawk is GNU awk and you may have to install it if you are not using Linux. On Linux awk is gawk.

zaxxon's approach may fail if the xml files are big. grep...
Showing results 1 to 6 of 6

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