Search Results

Search: Posts Made By: mos33
Forum: Red Hat 04-13-2011
3,805
Posted By mos33
Thank u very much
Thank u very much
Forum: Red Hat 04-13-2011
3,805
Posted By mos33
the command : awk...
the command :
awk 'NR==FNR{split($0,a);getline}/at/{$2=a[++c]}1' file1 file2 > newfile

is very useful but still printing the content of file1 to the output, how can i avoid this??
Forum: Red Hat 04-13-2011
3,805
Posted By mos33
It is the content of each file: file1.txt: ...
It is the content of each file:
file1.txt:


file2.sh: >>"a script file"

#!/bin/sh
at 11:11
cp /qq/event.call /var/spool/asterisk/outgoing/
chmod 777...
Forum: Red Hat 04-13-2011
3,805
Posted By mos33
copy & replace text
how can i copy a certain word from a text file then use this word to replace in another text file??
i tried to use something like:
awk '{print "Hit the",$1,"with your",$2}' /aaa/qqqq.txt > uu.txt...
Showing results 1 to 4 of 4

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