Search Results

Search: Posts Made By: saj
2,167
Posted By Scrutinizer
What is your OS and version? On Solaris use...
What is your OS and version? On Solaris use /usr/xpg4/bin/awk rather than awk
2,167
Posted By elixir_sinari
Something like this... awk -F\"...
Something like this...


awk -F\" '{a[$1]=a[$1]" "$2} END{for(i in a) print i,a[i]}' filename|sort|awk '{for(i=1;i<=NF;i++) t[i]=t[i]"\t"$i;if(NF>max)max=NF} END{for(i=1;i<=max;i++)print t[i]}'
2,167
Posted By methyl
One way: echo "A B C D E F" cat...
One way:

echo "A B C D E F"

cat abc124.txt | while read letter number
do
eval let \${letter}=${number}
counter=$(($counter + 1))
if [ ${counter} -ge 6 ]
...
2,682
Posted By Scrutinizer
Try: sed -n '/^ *Name /{N;N;N;N;N;/Name...
Try:
sed -n '/^ *Name /{N;N;N;N;N;/Name .*\n.*Prompt .*\n.*Default .*\n.*ParamType .*\n.*ParamLength .*\n.*ParamScale /p;}' infile
Showing results 1 to 4 of 4

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