Search Results

Search: Posts Made By: atripat
3,202
Posted By atripat
Here is one quick and simple way: for file...
Here is one quick and simple way:

for file in `grep -l aabbcc *`
do
echo $file
grep -n aabbcc $file | sed 's/:/ /'
done

Replace aabbcc in the code above...
9,385
Posted By atripat
try using quotes ... use grep...
try using quotes ... use
grep "stuff*filter"
17,082
Posted By atripat
Try this: sed 's/.$//' old_file > new_file
Try this:
sed 's/.$//' old_file > new_file
17,082
Posted By atripat
try using dos2unix untility on the file once it...
try using dos2unix untility on the file once it is on AIX.
1,588
Posted By atripat
use this: /usr/xpg4/bin/grep -F $Grp_pat...
use this:
/usr/xpg4/bin/grep -F $Grp_pat /xxx/temp/xxxx.lst
3,608
Posted By atripat
Try this: Control will go inside if block...
Try this:

Control will go inside if block only if return is pressed.

#!/bin/ksh

echo "Press Enter"

IFS="\n"

read enterkey

if [[ -z $enterkey ]];then
print "This is printed only...
Forum: AIX 06-22-2007
9,474
Posted By atripat
Here is one quick and dirty way of doing it: ...
Here is one quick and dirty way of doing it:

paste -s -d"\0" result.txt > new_result.txt
Showing results 1 to 7 of 7

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