Search Results

Search: Posts Made By: harjinder
1,832
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,764
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,899
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 04:11 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy