Search Results

Search: Posts Made By: harjinder
1,778
Posted By cgkmal
x="" for((i=1;i<=5;i++)) do x="$x $i" ...
x=""
for((i=1;i<=5;i++))
do
x="$x $i"
echo $x
done
1
1 2
1 2 3
1 2 3 4
1 2 3 4 5
and
for((i=1;i<=5;i++))
do
for ((j=1;j<=$i;j++))
do
echo -n "$i "
done
echo ""
done
1,743
Posted By michaelrozar17
Since your recent post's input file is different...
Since your recent post's input file is different from the original one you get like that..You could try the below, formatted according to the post#5's input file
sed -n '/revision...
278,325
Posted By Neo
Simple rules of the UNIX.COM forums:
RULES OF THE UNIX AND LINUX FORUMS

For the latest version of the community rules (the official community rules page), please visit here. (https://www.unix.com/misc.php?do=cfrules)


No flames,...
Showing results 1 to 3 of 3

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