How to delete and edit particular line in a file and save it in same file ?
Hi,
I want to delete and edit text at particular line in a file.
But edit and delete should reflect in same file.
I have done googling for this but it results with using another file, that i dont want as i need to save changes in same file.
How can i do this?
Thanks in advance
Edited by: vj_victor on May 24, 2010 3:33 PM
I just want to make sure, this is the only way to do what i mentioned ? or it could be done another way !a) write the data to a new file
b) delete the old file
c) write the data to a newer file
d) delete the new file
e) rename the newer file to the old file name.
For a hint about still more ways to do this, search for the complete lyrics of One man went to mow, Went to mow a meadow...
db
Similar Messages
-
How to delete the Cost center line item data
How to delete the cost center line item data of particular cost center and only one cost center is exisiting for that company code.
Is there any way to delete the line items in that cost center.
Can data archiving & deleting can help us..........
does it have any effect over other cost center data....
any input needed.........
regards
rajeshHi,
i found 2 reports for you:
1) CO_TOTAL_WRI - Archiving CO Totals Records
2) RKCOITW1 - Archiving CO Line Items: Write Program
from 2) is a linlk to customize archiv-parameters
-> start it with transaction se38 / sa38
A. -
How to delete the old schedule line release?
Hello,
How to delete the old schedule line release in apo?
Generally GR has to be carry out schedule line release in r/3 which reduces the Schdule line release.
But i do want do GR against old schdule line release instead i want to delete the old schdule line release.
Please suggest.
Regards,
Sunil PatilSunil ,
/sapapo/cmds_del is the tcode to deleted sales scheduling agreement confirmations and releases
/sapapo/display_conf is the tcode for displaying sls. sch.agr confirmations and releases
The above two are in the supply chain collaboration menu
/sappao/cmds_sc02 is the tcode to delete sales scheduling agreements . This tcode is in the application specific master data menu
Thanks
Saradha -
I should have said in my previous message that the iphoto program I am using is for an ipad 2. I simply want to know how to delete an edited album which contains one photo that I do not want taking up space.
OK....I'm stumped. The message you are seeing is typically there to protect someone from syncing with a different computer/iTunes account. Is there any way anyone else has used your iPad and possibly connected it to their computer?
-
How to delete the old schedule line release in apo
How to delete the old schedule line release (from current date) in apo which is having schedule firmed?
Please suugest.
SunilHow is it possible to delete old purchasing schedule lines in APO (that do not exist in R/3)?
Though used successfully before, /SAPAPO/CCR will not reconcile our discrepancy in this case.
Thanks in advance,
Jim -
I lost my belongings via theft from a storage unit. As it was scheduled for move the next day I did not purchase insurance. Probably an inside job, painful leason learned. This also left me no way to repurchase all i lost.
As a photographer my greatest loss is having a computer to download and edit photos. Money is scarce and I am considering an ipad, understanding even this may not be affordable. Can anyone advise me whether an ipad can replace a pc? Are there ports? How crucial is memory? I could edit photos then store them on flash drives if the ipad cannot handle load. Never having owned one I'm afraid I am completely ignorant on these issues and am grateful for any guidance. Thank you!Trishfromaz wrote:
Can anyone advise me whether an ipad can replace a pc?
No. The iPad while a powerful tablet, is not a PC replacement. It is limited in what it can do.
Trishfromaz wrote:
Are there ports?
No USB ports or of any other kind if that is what you are asking. There's the sync/charge port you can use with the Lightning to USB camera Adapter, but only to load photos onto the iPad. It cannot write out to USB drives.
http://store.apple.com/us/product/MD821ZM/A/lightning-to-usb-camera-adapter
Trishfromaz wrote:
How crucial is memory?
iPads are not upgradeable. So what you buy is what you get. Memory is 1GB. Storage space can go from 16GB up to 128GB
Depending on what Image editor applications you use, there may not be a version for iPad with the features you need. -
How to delete icloud account when the email is old and for got password?
How do I delete my icloud accout? I forgot password and the email is not active anymore. Please help!!
If the old ID is yours, and if it is an earlier version of your current ID, go to https://appleid.apple.com, click Manage my Apple ID and sign in with your current iCloud ID. Click edit next to the primary email account, change it back to your old email address and save the change. Then edit the name of the account to change it back to your old email address. You can now use your current password to turn off Find My iDevice, even though it prompts you for the password for your old account ID. Then save any photo stream photos that you wish to keep to your camera roll. When finished go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud). Next, go back to https://appleid.apple.com and change your primary email address and iCloud ID name back to the way it was. Now you can go to Settings>iCloud and sign in with your current iCloud ID and password.
-
Find and edit specific line in text file?
Hello I want to read a text file that could look in some different ways since the user choose file from a list. I then want to igonre all the lines that begin with a special character, for example %. I then want to find all the lines "words" that begin with TRY for example and put those "words" in a string or array. If there is one line that contains TRY100 and anoter line that contains TRY200 I want to find those words and display them. How do i do this?
First you read the entire file. Use the Read Text File. Right-click on it and select the option to Read Lines. The the count to read to -1 (read all). You will now have an array of strings, one item for each line of your file.
Now you need to play the filter game. I recommend using FOR loops with Autoindexing tunnels. Assuming you are using 2012 or later, have the output autoindexing tunnels use the conditional tunnel.
Give this a try and see where you can go. Post back with what you have tried and tell us where you are stuck.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
How to delete a PO schedule line in SNC
Hi Experts,
Is there any way to delete/cancel a schedule line of a specific PO manually in SNC.?
Thanks in advance
VinothHi Vinoth,
If you have PO# with you then you can check this PO in R\3 from R\3 you can get supplier code.
Once you have supplier code then go to t-code:/N/SAPAPO/LOC3 in SAP SNC enter supplier code you can get supplier BP organization from general tab.
If you don't have R\3 access then go to table /1OM/ORDR7MP3<client#> enter ORDNO as your PO# press F8 from this copy ORDID.
Now go to table /1OM/ORDR1HDR<client#> enter the ORDID press F8 and copy PRTIDFR then go to table /SAPAPO/LOC enter PARTNER_GUID field as PRTIDFR press F8
(Note that by default PARTNER_GUID is not there for field selction to get PARTNER_GUID field click on setting tab and select field selection in that you will get PARTNER_GUID field checked this field).
Now you will get supplier BP organization.
There is only one way you can close PO using /SCA/PO_SET_CLOSED.
Regards
Nikhil -
How to delete all photos stored in icloud? Current and previous.
If I turn off the photo stream on my icloud settings using an iphone5s, will all the pictures be deleted including the previous ones that I took and not just the ones on my phone at the moment?
Hello Jopreng,
Thanks for using Apple Support Communities.
To delete photos from your Photo Stream please follow the steps in the article below.
iCloud: How to delete photos from My Photo Stream
http://support.apple.com/kb/HT5125
Take care,
Alex H. -
How do I bulk edit contact's nicknames to first and last names?
i imported contacts to the contacts app and they all say "NoName".
i click on one of them and the first and last name fields are empty but the nickname field has the first and last name in it.
how can i bulk edit 1120 contacts to change the full nickname to a first and last name?
ex: "First" ~ "Last" ~ "Nickname"
"Blank" ~ "Blank" ~ "John Smith"
i want to to be:
"John" ~ "Smith"
help me create an applescript or use a program or something cuz its killing me....thanks
ohh and i used both of the following applescripts and nothing happened:
tell application "Address Book"
set all_Persons to every person in group "Test"
repeat with per_son in all_Persons
set nknm to per_son's nickname
set per_son's first name to word 1 of nknm
set per_son's last name to word -1 of nknm
end repeat
end tell
ANDDDDDD
tell application "Address Book"
set {ASTID, AppleScript's text item delimiters} to {AppleScript's text item delimiters, space}
repeat with onePerson in (get people whose nickname is not missing value)
set N to text items of (get nickname of onePerson)
tell contents of onePerson
set first name to text items 1 thru -2 of N as text
set last name to text item -1 of N as text
end tell
end repeat
set AppleScript's text item delimiters to ASTID
end tell
neither did anything...to any1 that wants to use the scripts and have them work just type "save" on the next like after end tell and itll do it........
-
Hello!
My problem appeared when I tried to update my code from Traditional NI-DAQ Legacy to DAQmx.
I am using 2 counters (counter 5 and counter 7) from PCI-6602, to generate pulse train, and also the Digital I/O lines of the port 0 (the lines form 0 to 7). What I do in my application is that I am starting to generate the pulse train on the output of the 2 counters, and after that I am playing with the state of the digital lines.
In traditional there was no problem using the counters and the digital lines in the same time, everything was going perfectly, but in DAQmx this is not possible.
What happens: I start to generate pulse train on the output of the counters, no errors encountered, but when I try to modify the state of one line of the digital port the generation of the pulse train is stopped. This is happening when I start the task associated to the digital port.
My question is: it is possible to create a channel on the digital lines without altered the channels created for the counters?
Another thing what I manage to see using the "Measurement & Automation Explorer" and Test panels for PCI-6602, basically is the same thing, I generate pulse train on the output of the counter 7 and try to start a task on the digital line, but I get one error :
"Error -200022 occurred at Test Panel
Possible Reason(s):
Measurements: Resource requested by this task has already been reserved by a different task.
Device: Dev4
Terminal: PFI8"
Instead if I use the counter 0 or counter 1 to generate pulse train I don't encounter the same problem.
Which resources are used by the counters 2 to 7 from the PCI-6602 board and the counters 0 and 1 do not use?
Thank in advance for any replies!
Ciprian
Solved!
Go to Solution.Hello Jordan, thank you for your reply.
I am sorry but I can not see or run your example, I don't use LabView, I use Visual C++ for developing.
Here is the code for generating the pulse train:
GeneratePulseTrain(unsigned long ulCount1, unsigned long ulCount2)
short nStatus = 0;
nStatus = DAQmxCreateTask("",&m_taskHandle);
nStatus = DAQmxCreateCOPulseChanTicks (m_taskHandle, "Dev4/count5", "", NULL, DAQmx_Val_Low, 0.0, ulCount1,ulCount2);
if( bTriggerMode == true) // if hardware trigger is enabled
nStatus = DAQmxSetTrigAttribute (m_taskHandle, DAQmx_ArmStartTrig_Type, DAQmx_Val_DigEdge);
nStatus = DAQmxSetTrigAttribute (m_taskHandle, DAQmx_DigEdge_ArmStartTrig_Edge, DAQmx_Val_Rising);
nStatus = DAQmxSetTrigAttribute (m_taskHandle, DAQmx_DigEdge_ArmStartTrig_Src,"Dev4/PFI17" );
//set the internal timebase
nStatus = DAQmxSetCOCtrTimebaseSrc(m_taskHandle,"Dev4/count5","20MHzTimeBase" );
nStatus = DAQmxStartTask(m_taskHandle);
return nStatus;
And the code where I try to set the digital line:
SetChannelState(short nState)
short nStatus = 0;
uInt8 wrtBuf0[1]={0};
nStatus = DAQmxCreateTask("",&m_taskHandle);
// Configure line as output
nStatus = DAQmxCreateDOChan (m_taskHandle, "Dev4/port0/line0", "", DAQmx_Val_ChanPerLine);
nStatus = DAQmxStartTask(m_taskHandle);
wrtBuf0[0] = nState;
nStatus =DAQmxWriteDigitalLines (m_taskHandle, 1, 0, 0, DAQmx_Val_GroupByScanNumber , wrtBuf0, NULL, NULL);
nStatus = DAQmxWaitUntilTaskDone(m_taskHandle,10);
nStatus = DAQmxStopTask(m_taskHandle);
nStatus = DAQmxClearTask(m_taskHandle);
m_taskHandle = 0;
return nStatus; -
How to delete the Reference customer in CRM ?? and what is the purpose for it ?
what's is the purpose of using the Reference customer in CRM ?
and can any one help me changing the Reference customer in CRM as i already assigned one and can't change it ??
and how to use it .????.....
thanksHI.
Do you mean refresh the client ? if that is the case, i think you are posting in wrong forum since this one is for People Centric User Interface. Try in Customer "Relationship Management (CRM) - General & Framework".
Best Regards.
Armando Rodriguez. -
What can I do to solve an issue with my iPod touch gen. 5 32 gb on connecting to iTunes on my computer? iTunes says there is an error with my iPod touch, which this was a result of deleting my songs and videos. I was only transferring more songs, videos and editing my playlists. I don't have that much of the songs left. What is the best solution?
And what is the wording of the error message?
-
I just dropped my iPhone 5c and now there is a think and thick white line going down the lock screen. I am no longer able to get into my phone! Please help! is this fixable?
You will need to take it into your nearest Apple Store for screen replacement it the home button will not work. If at all possible, connect it to your PC and back it up first.
Cheers
Pete
Maybe you are looking for
-
Iphone 5s phone and voice mail issues
phone app keeps freezing and the voicemails i receive cannot be listened to as the play button is greyed out. I have just started this in the last week for no obvious reason. I turn it off and on and I am on the latest software. It is a real pain a
-
Question about using multiple iPods on the same PC
I've read the FAQs on this subject but I still have a couple of questions about multiple users with separate iPods using the same PC. I want to use my family's desktop (A new Gateway with Vista, if it matters) for my new iPod Classic, but my father a
-
Hello all, I have a question about after insert trigger. Will be new row inserted and commited if after insert trigger returns error? Thank you. regards, Miha
-
Do the recovery discs come with an operating system?
I was given a Toshiba satellite A215-S4747 a year ago. I don't have a recovery disc and can't do a restore from the hard disc. After putting windows 7 on it, it has been nothing but problems with the drivers and such. At this point I just want i
-
Issue with custom dropdowns in checkin form
I have two custom dropdowns( for a profile checkin form), and the value for the second dropdown items needs to be calculated on the basis of first. Example: Dropdown1 Country - India - value=111 England - value=222 Dropdown2 Contact Mobile - value=33