Search Results

Search: Posts Made By: prasanna1157
6,589
Posted By DGPickett
First opened is first numbered, but try it and...
First opened is first numbered, but try it and see.

sed 's/\(\(.\).\).*/\1 \2/' <<!
abcdefg
!
ab a
9,204
Posted By Scrutinizer
while read n do if [ $n -lt 0 ]; then ...
while read n
do
if [ $n -lt 0 ]; then
echo $n
fi
done < infile

---------- Post updated at 02:00 ---------- Previous update was at 00:28 ----------

cut -sd- -f1- infile
Showing results 1 to 2 of 2

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