Search Results

Search: Posts Made By: ruchimca
1,555
Posted By ruchimca
I tried but these commands donot help, is there a...
I tried but these commands donot help, is there a way (command etc) to get output of program runnign within to current window only, such as redirecting the output etc
1,555
Posted By ruchimca
get output of program within a script to a file
I am running a program which probably calla script within, this script executes in a pop window and control returns back to main program.

Whilw this script is executing i can see a number of...
1,755
Posted By ruchimca
Above code gives me syntax error + find ....
Above code gives me syntax error

+ find . -type f
+ sed -e :a -e /^\n*$/N;/\n$/ba ./Makefile
+ wc -l newfile
+ wc -l ./Makefile
+ let 9 newfile < 9 ./Makefile
let: r 11:...
1,755
Posted By ruchimca
I also want to modify this code so that it...
I also want to modify this code so that it executes mv command only if there is a blank line at end of file ie otherwise file time stamp remains untouched, is it possible?
1,755
Posted By ruchimca
how to remove recursilvely from a directory
I can remove blank lines at end of file using following code

for files in `ls * 2>/dev/null`
do
sed -e :a -e '/^\n*$/N;/\n$/ba' $files > newfile
mv newfile $files
done

How can I change...
5,461
Posted By ruchimca
Remove last blank line of file
I have a number of files (arranged in directories) which have last line blank,

I am trying to synchronize my code with other env and due to this blank lines, all files error out as different...
Showing results 1 to 6 of 6

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