Search Results

Search: Posts Made By: Craiz
113,079
Posted By Craiz
oops
sometimes just aking the question outlous gives you the answer...

this is what I wanted:

#!/bin/bash
: > ./.dirbuff;
ls > ./.dirbuff;
CurPath="";
CurPath=`pwd`;
echo "Current path is...
113,079
Posted By Craiz
this is what I am working on
#!/bin/bash
: > ./.dirbuff;
ls > ./.dirbuff;
CurPath="";
CurPath=`pwd`;
echo "Current path is "$CurPath""
CurDir="";
CurDir=`head -1 ./.dirbuff`;
echo "Current directory is "$CurDir""
if [...
113,079
Posted By Craiz
results
head -1 bigflatfile > firstline # works but would rather be a var

firstline=$(head -1 bigflatfile) # does not work $firstline is empty

firstline='perl -pi.bk -e 'print( STOUT $_ ) and $_= "" if...
113,079
Posted By Craiz
A Little extra
I found this feed and it answers half of my problem....
once I remove the first line from a flat file.How can I put that removed line into a variable or anouther flate file or both???

Thanx for...
Showing results 1 to 4 of 4

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